limnoria.bash: add `--upgrade`

If something isn't installed, it will be installed and if something
is installed, but outdated, it will be upgraded and if it's up-to-date
nothing is done.
This commit is contained in:
Mikaela Suomalainen 2014-06-30 15:21:29 +03:00
parent d6e59936ce
commit e505a63cbc
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ if [[ $USER != "root" ]]; then
NOROOT="--user"
fi
pip install -r https://raw.githubusercontent.com/ProgVal/Limnoria/master/requirements.txt $NOROOT $1
pip install -r https://raw.githubusercontent.com/ProgVal/Limnoria/master/requirements.txt --upgrade $NOROOT $1
## VERY EXPERIMENTAL, BROKEN AND DOES NOT EXIST!
#pip install -r https://raw.githubusercontent.com/ProgVal/Limnoria/master/requirements.vcs.txt $NOROOT $1
pip install git+https://github.com/ProgVal/Limnoria.git@master $NOROOT $1
#pip install -r https://raw.githubusercontent.com/ProgVal/Limnoria/master/requirements.vcs.txt --upgrade $NOROOT $1
pip install git+https://github.com/ProgVal/Limnoria.git@master --upgrade $NOROOT $1