From 874cf00deb4c1aa70b3756bfe2ccb5fe13aba60e Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 9 Dec 2020 17:54:22 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 2ab2f72..3027177 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -88,7 +88,7 @@ ynh_add_systemd_config --service="$app" --template="pyinventory.service" ynh_script_progression --message="Install pyinventory using PIP..." --weight=15 virtualenv --python=python3 "${final_path}/venv" -sudo chown -R "$app" "$final_path" +chown -R "$app" "$final_path" #run source in a 'sub shell' (