diff --git a/scripts/change_url b/scripts/change_url index c705658..9a77968 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -23,7 +23,7 @@ app=$YNH_APP_INSTANCE_NAME #================================================= # LOAD SETTINGS #================================================= -ynh_script_progression --message="Loading installation settings..." --time --weight=1 +ynh_script_progression --message="Loading installation settings..." --weight=1 # Needed for helper "ynh_add_nginx_config" final_path=$(ynh_app_setting_get $app final_path) @@ -31,7 +31,7 @@ final_path=$(ynh_app_setting_get $app final_path) #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up Mindmaps before changing its URL (may take a while)..." --time --weight=1 +ynh_script_progression --message="Backing up Mindmaps before changing its URL (may take a while)..." --weight=1 # Backup the current version of the app ynh_backup_before_upgrade @@ -64,7 +64,7 @@ fi #================================================= # MODIFY URL IN NGINX CONF #================================================= -ynh_script_progression --message="Updating NGINX web server configuration..." --time --weight=1 +ynh_script_progression --message="Updating NGINX web server configuration..." --weight=2 nginx_conf_path=/etc/nginx/conf.d/$old_domain.d/$app.conf @@ -93,7 +93,7 @@ fi #================================================= # RELOAD NGINX #================================================= -ynh_script_progression --message="Reloading NGINX web server..." --time --weight=1 +ynh_script_progression --message="Reloading NGINX web server..." --weight=1 ynh_systemd_action --service_name=nginx --action=reload diff --git a/scripts/remove b/scripts/remove index 403b067..98afd3e 100755 --- a/scripts/remove +++ b/scripts/remove @@ -21,7 +21,7 @@ final_path=$(ynh_app_setting_get $app final_path) #================================================= # REMOVE APP MAIN DIR #================================================= -ynh_script_progression --message="Removing app main directory" --weight=2 +ynh_script_progression --message="Removing Mindmaps main directory" --weight=2 # Remove the app directory securely ynh_secure_remove "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index 419c854..0f6d11c 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -49,7 +49,7 @@ fi #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up the app before upgrading..." --weight=3 +ynh_script_progression --message="Backing up Minmaps before upgrading..." --weight=3 # Backup the current version of the app ynh_backup_before_upgrade