From 9614b461d14c882eac573706f9a4ac6a343c78da Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Wed, 3 Mar 2021 19:35:23 -0500 Subject: removing python2 binary from linux setup --- scripts/linux-setup.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'scripts') 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 } -- cgit v1.3.1