From fd23b8b0aa8ae7bc4e6edffce0e3efc1703d137a Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Mon, 22 Nov 2021 21:45:39 +0100 Subject: [PATCH] "--upgrade" seems not to be needed, if venv already exists --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index c86f71e..93f08a3 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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"