summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2021-03-03 19:35:23 -0500
committerJordan Wiens <jordan@psifertex.com>2021-03-03 19:35:23 -0500
commit9614b461d14c882eac573706f9a4ac6a343c78da (patch)
tree2d2ee64235656b0cd90bbe19638f13fe2123073f /scripts
parent97c4472da3f3804613be6cd1fee561e5dea4297f (diff)
removing python2 binary from linux setup
Diffstat (limited to 'scripts')
-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
}