Fix how pip runs for backup-everything script
i.e. be sure to run as rattail user, or whatever the app uses
This commit is contained in:
parent
fa2f7dfcbd
commit
0abb0720a5
|
@ -14,8 +14,7 @@ fi
|
|||
|
||||
|
||||
RATTAIL="/srv/envs/${envname}/bin/rattail --config=$CONFIG $PROGRESS"
|
||||
PIP=/srv/envs/${envname}/bin/pip
|
||||
export PIP_CONFIG_FILE=/srv/envs/${envname}/pip.conf
|
||||
PIP="sudo -u ${user} PIP_CONFIG_FILE=/srv/envs/${envname}/pip.conf /srv/envs/${envname}/bin/pip"
|
||||
|
||||
# upgrade pip
|
||||
$PIP install $QUIET --upgrade pip
|
||||
|
|
Loading…
Reference in a new issue