From ad21af6e979d2066a1171857fcc3a752f808cbde Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 20 Aug 2020 11:34:34 +0200 Subject: [PATCH] cleaning up --- scripts/change_url | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index cfd532b..daa580d 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -34,7 +34,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up $app before changing its URL (may take a while)..." --weight=2 +ynh_script_progression --message="Backing up $app before changing its URL..." --weight=2 # Backup the current version of the app ynh_backup_before_upgrade diff --git a/scripts/restore b/scripts/restore index 30ef335..2018d2a 100644 --- a/scripts/restore +++ b/scripts/restore @@ -47,7 +47,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= # RESTORE THE APP MAIN DIR #================================================= -ynh_script_progression --message="Restoring the app main directory..." --weight=2 +ynh_script_progression --message="Restoring $app main directory..." --weight=2 ynh_restore_file --origin_path="$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index 2ee2d6c..13d7295 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -49,7 +49,7 @@ fi #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up $app before upgrading (may take a while)..." --weight=3 +ynh_script_progression --message="Backing up $app before upgrading..." --weight=3 # Backup the current version of the app ynh_backup_before_upgrade