From c5f8467dbf0389341ece803916c1975b023a8bc3 Mon Sep 17 00:00:00 2001 From: Scott Duensing Date: Thu, 9 May 2024 17:11:16 -0500 Subject: [PATCH] Mac/Linux installer now looks for pip3 in addition to pip. --- distro/f256-install.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/distro/f256-install.sh b/distro/f256-install.sh index a625140..d1708cc 100755 --- a/distro/f256-install.sh +++ b/distro/f256-install.sh @@ -72,8 +72,11 @@ fi PIP=$(which pip) if [[ $? == 1 ]]; then - echo "Unable to find pip. Exiting." - exit 1 + PIP=$(which pip3) + if [[ $? == 1 ]]; then + echo "Unable to find pip. Exiting." + exit 1 + fi fi CURL=$(which curl) @@ -114,7 +117,7 @@ rm -f *.bat mv FoenixMgr-master FoenixMgr pushd FoenixMgr - pip install -r requirements.txt + ${PIP} install -r requirements.txt popd echo "[DEFAULT]" > foenixmgr.ini