diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2021-03-03 19:35:23 -0500 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2021-03-03 19:35:23 -0500 |
| commit | 9614b461d14c882eac573706f9a4ac6a343c78da (patch) | |
| tree | 2d2ee64235656b0cd90bbe19638f13fe2123073f /scripts | |
| parent | 97c4472da3f3804613be6cd1fee561e5dea4297f (diff) | |
removing python2 binary from linux setup
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/linux-setup.sh | 6 |
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 } |
