From 8bc2ef8e426eb20340eea173d628c33271c6d25d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 19 Jul 2021 11:54:08 +0200 Subject: [PATCH] Add --quiet --- scripts/install | 4 ++-- scripts/upgrade | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index c87aff1..c027e2c 100644 --- a/scripts/install +++ b/scripts/install @@ -81,7 +81,7 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path git clone --quiet https://github.com/friendica/friendica.git -b stable "$final_path" # Reset branch to the level of update we needed pushd "$final_path" - git reset --hard $version_commit + git reset --hard --quiet $version_commit popd # Copy .htaccess-dist to ..htaccess @@ -91,7 +91,7 @@ cp -f "$final_path/.htaccess-dist" "$final_path/.htaccess" git clone --quiet https://github.com/friendica/friendica-addons.git -b stable "$final_path/addon" # Reset addons branch to the level of update we needed pushd "$final_path/addon" - git reset --hard $addons_version_commit + git reset --hard --quiet $addons_version_commit popd chmod 750 "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index 668a7c8..ac18e77 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -134,14 +134,14 @@ else git clone --quiet https://github.com/friendica/friendica.git -b stable "$final_path" # Reset branch to the level of update we needed pushd "$final_path" - git reset --hard $version_commit + git reset --hard --quiet $version_commit popd # 2 - Clone addons repo git clone --quiet https://github.com/friendica/friendica-addons.git -b stable "$final_path/addon" # Reset addons branch to the level of update we needed pushd "$final_path/addon" - git reset --hard $addons_version_commit + git reset --hard --quiet $addons_version_commit popd # Restore the smarty3 folder