From 6754aa15423a7dc2e50c5be8488adff47f93c2b1 Mon Sep 17 00:00:00 2001 From: Florent Date: Fri, 3 Feb 2023 17:40:00 +0100 Subject: [PATCH] Fix upgrade again (ownership) --- scripts/upgrade | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 66de15e..574d997 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -81,9 +81,9 @@ then # Download, check integrity, uncompress and patch the source from app.src pushd "$final_path" - git checkout master - git pull --quiet - git checkout $COMMIT --quiet + ynh_exec_as $app git checkout master + ynh_exec_as $app git pull --quiet + ynh_exec_as $app git checkout $COMMIT --quiet popd fi