mirror of
https://github.com/YunoHost-Apps/pyinventory_ynh.git
synced 2024-09-03 20:16:09 +02:00
"--upgrade" seems not to be needed, if venv already exists
This commit is contained in:
parent
e454b31848
commit
fd23b8b0aa
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ ynh_add_systemd_config --service="$app" --template="pyinventory.service"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Upgrade project via pip..." --weight=80
|
ynh_script_progression --message="Upgrade project via pip..." --weight=80
|
||||||
|
|
||||||
python3 -m venv --upgrade "${final_path}/venv"
|
python3 -m venv "${final_path}/venv"
|
||||||
cp ../conf/requirements.txt "$final_path/requirements.txt"
|
cp ../conf/requirements.txt "$final_path/requirements.txt"
|
||||||
chown -R "$app:" "$final_path"
|
chown -R "$app:" "$final_path"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue