From f88c8b9c5940febbb5e1aae9d5039bc95a790de3 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 12 Feb 2023 17:48:28 +0100 Subject: [PATCH] Propagate git command changes to install script --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 91ac024..5a1f4e3 100644 --- a/scripts/install +++ b/scripts/install @@ -80,11 +80,11 @@ ynh_script_progression --message="Setting up source files..." ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src -git init "$final_path" +ynh_exec_as $app git init "$final_path" pushd "$final_path" - git remote add origin "$yunorunner_repository" - git fetch --quiet --depth=1 origin "$yunorunner_release" - git reset --quiet --hard FETCH_HEAD + ynh_exec_as $app git remote add origin "$yunorunner_repository" + ynh_exec_as $app git fetch --quiet --depth=1 origin "$yunorunner_release" + ynh_exec_as $app git reset --quiet --hard FETCH_HEAD popd chmod 750 "$final_path"