mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-17 00:29:33 +01:00
e505a63cbc
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.
10 lines
435 B
Bash
Executable File
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
|