fix(installer): only upgrade pip packages if needed

This commit is contained in:
jo 2022-09-01 18:52:35 +02:00 committed by Jonas L
parent c244cc812d
commit cd151da603
1 changed files with 4 additions and 1 deletions

View File

@ -248,7 +248,10 @@ set_config() {
# install_python_app <path>
install_python_app() {
info "installing python app from $1"
$PIP install "$1"
$PIP install \
--upgrade \
--upgrade-strategy only-if-needed \
"$1"
}
# install_service <name> <filepath>