fix(installer): only upgrade pip packages if needed
This commit is contained in:
parent
c244cc812d
commit
cd151da603
1 changed files with 4 additions and 1 deletions
5
install
5
install
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue