scripts/bash/python-install/limnoria.bash
Mikaela Suomalainen e505a63cbc 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.
2014-06-30 15:21:29 +03:00

10 lines
435 B
Bash
Executable File

#!/usr/bin/env bash
if [[ $USER != "root" ]]; then
NOROOT="--user"
fi
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 --upgrade $NOROOT $1
pip install git+https://github.com/ProgVal/Limnoria.git@master --upgrade $NOROOT $1