From 58975ecdce5129be40890d1560daab2df2d4a759 Mon Sep 17 00:00:00 2001 From: Augustin Trancart Date: Sun, 8 May 2022 15:09:55 +0200 Subject: [PATCH] Try to be less verbose --- scripts/install | 4 ++-- scripts/install_ruby | 8 ++++---- scripts/restore | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/install b/scripts/install index 0b449bd..3f03fe8 100755 --- a/scripts/install +++ b/scripts/install @@ -101,7 +101,7 @@ source ./install_ruby # Download, check integrity, unucompress and patch the source from app.src pushd $final_path ynh_script_progression --message="Download the sources..." --weight=10 -sudo -u $app git clone https://github.com/diaspora/diaspora.git -b $current_tag +ynh_exec_warn_less sudo -u $app git clone https://github.com/diaspora/diaspora.git -b $current_tag popd #================================================= @@ -111,7 +111,7 @@ ynh_script_progression --message="Creating database..." --weight=1 db_name=$(ynh_sanitize_dbid $app) ynh_app_setting_set --app=$app --key=db_name --value=$db_name ynh_psql_test_if_first_run -ynh_psql_setup_db --db_user=$db_name --db_name=$db_name +ynh_exec_warn_less ynh_psql_setup_db --db_user=$db_name --db_name=$db_name db_pass=$(ynh_app_setting_get --app=$app --key=psqlpwd) #================================================= diff --git a/scripts/install_ruby b/scripts/install_ruby index 3cdbe0f..4197afd 100644 --- a/scripts/install_ruby +++ b/scripts/install_ruby @@ -4,15 +4,15 @@ pushd $final_path if [ -x Experimental_helpers ]; then pushd Experimental_helpers - git fetch + ynh_exec_warn_less git fetch popd else - git clone https://github.com/YunoHost-Apps/Experimental_helpers.git + ynh_exec_warn_less git clone https://github.com/YunoHost-Apps/Experimental_helpers.git fi pushd Experimental_helpers -git checkout 606b60cf6bb3906d32020392f0a824d1f9971e96 +ynh_exec_warn_less git checkout 606b60cf6bb3906d32020392f0a824d1f9971e96 source ./ynh_install_ruby/ynh_install_ruby popd popd -ynh_install_ruby --ruby_version=2.6.6 +ynh_exec_warn_less ynh_install_ruby --ruby_version=2.6.6 diff --git a/scripts/restore b/scripts/restore index ae81399..fce2886 100644 --- a/scripts/restore +++ b/scripts/restore @@ -81,7 +81,7 @@ source ./install_ruby # Download, check integrity, unucompress and patch the source from app.src pushd $final_path ynh_script_progression --message="Download the sources..." --weight=5 -sudo -u $app git clone https://github.com/diaspora/diaspora.git -b $current_tag +ynh_exec_warn_less sudo -u $app git clone https://github.com/diaspora/diaspora.git -b $current_tag popd #=================================================