summaryrefslogtreecommitdiff
path: root/scripts/linux-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/linux-setup.sh')
-rwxr-xr-xscripts/linux-setup.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/linux-setup.sh b/scripts/linux-setup.sh
index 6f4575d7..8c3c6d2d 100755
--- a/scripts/linux-setup.sh
+++ b/scripts/linux-setup.sh
@@ -71,13 +71,11 @@ pythonpath()
else
SILENT=""
fi
- if [[ -x "`which python`" ]]
- then
- python -V >/dev/null 2>&1 && ${SUDO}python "${BNPATH}/scripts/install_api.py" ${ROOT} ${SILENT}
- fi
if [[ -x "`which python3`" ]]
then
python3 -V >/dev/null 2>&1 && ${SUDO}python3 "${BNPATH}/scripts/install_api.py" ${ROOT} ${SILENT}
+ else
+ echo "Python3 not found. Not installing BN PTH file."
fi
}