put --upgrade flag to the same location in subsequent requests

This commit is contained in:
Matthias 2019-01-05 19:51:28 +01:00
parent 31da42a485
commit 9e5e485d0a

View File

@ -31,7 +31,7 @@ function updateenv () {
source .env/bin/activate source .env/bin/activate
echo "pip3 install in-progress. Please wait..." echo "pip3 install in-progress. Please wait..."
pip3 install --quiet --upgrade pip pip3 install --quiet --upgrade pip
pip3 install --quiet -r requirements.txt --upgrade pip3 install --quiet --upgrade -r requirements.txt
pip3 install --quiet -r requirements.txt pip3 install --quiet -r requirements.txt
read -p "Do you want to install dependencies for dev [Y/N]? " read -p "Do you want to install dependencies for dev [Y/N]? "