Update install2.sh

update to account for missing python3-venv package and updating PATH in script to run newly installed commands
This commit is contained in:
bharnden 2020-07-09 23:27:05 -07:00 committed by GitHub
parent a236ea2455
commit 139323146e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,8 +13,7 @@ fi
echo "installing CORE for ${os}"
case ${os} in
"ubuntu")
sudo apt install -y python3-pip
sudo apt install -y python3-pip python3-venv
;;
"centos")
sudo yum install -y python3-pip
@ -26,5 +25,6 @@ esac
python3 -m pip install --user pipx
python3 -m pipx ensurepath
python3 -m pipx install invoke
export PATH=$PATH:~/.local/bin
pipx install invoke
inv install