From 060bc63137c8a9f170451ee009eac9009f085995 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 31 Oct 2020 20:28:37 +0100 Subject: [PATCH] Fix upgrade --- scripts/install | 4 ++-- scripts/upgrade | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 035fcf2..f527350 100644 --- a/scripts/install +++ b/scripts/install @@ -86,9 +86,9 @@ 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 clone $source $final_path +git clone $source $final_path --quiet pushd "$final_path" - git checkout $COMMIT + git checkout $COMMIT --quiet popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 68df4da..5e4e31c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -89,8 +89,9 @@ then # Download, check integrity, uncompress and patch the source from app.src pushd "$final_path" - git pull - git checkout $COMMIT + git checkout master + git pull --quiet + git checkout $COMMIT --quiet popd fi