1
0
Fork 0
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:
JensDiemer 2021-11-22 21:45:39 +01:00
parent e454b31848
commit fd23b8b0aa

View file

@ -87,7 +87,7 @@ ynh_add_systemd_config --service="$app" --template="pyinventory.service"
#=================================================
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"
chown -R "$app:" "$final_path"