From e3a25c3a5a41f4077a5302cc96517f231599a025 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 17 Apr 2022 23:18:30 +0200 Subject: [PATCH] ynh_exec_warn_less --- scripts/install | 2 +- scripts/restore | 4 +--- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index 230c2e9..5697978 100644 --- a/scripts/install +++ b/scripts/install @@ -63,7 +63,7 @@ ynh_app_setting_set --app=$app --key=deletion --value=$deletion #================================================= ynh_script_progression --message="Installing dependencies..." --weight=7 -ynh_install_app_dependencies $pkg_dependencies +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies #================================================= # CREATE DEDICATED USER diff --git a/scripts/restore b/scripts/restore index 6178f45..39c005a 100644 --- a/scripts/restore +++ b/scripts/restore @@ -38,8 +38,6 @@ datadir=$(ynh_app_setting_get --app=$app --key=datadir) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=1 -ynh_webpath_available --domain=$domain --path_url=$path_url \ - || ynh_die --message="Path not available: ${domain}${path_url}" test ! -d $final_path \ || ynh_die --message="There is already a directory: $final_path " @@ -114,7 +112,7 @@ ynh_restore_file --origin_path="/etc/cron.d/$app" ynh_script_progression --message="Reinstalling dependencies..." --weight=1 # Define and install dependencies -ynh_install_app_dependencies $pkg_dependencies +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies #================================================= # RESTORE THE POSTGRESQL DATABASE diff --git a/scripts/upgrade b/scripts/upgrade index 9deb2dd..d7443b4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -119,7 +119,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Upgrading dependencies..." --weight=5 -ynh_install_app_dependencies $pkg_dependencies +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies #================================================= # PHP-FPM CONFIGURATION