From feb939657503ebd6b2b15a6f8dd0465512f71524 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Mon, 5 Aug 2019 12:04:07 +0200 Subject: [PATCH] Fix ynh_script_progression parameter --- scripts/remove | 4 ++-- scripts/upgrade | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/remove b/scripts/remove index 5924ebd..2362627 100644 --- a/scripts/remove +++ b/scripts/remove @@ -24,7 +24,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= # STOP AND REMOVE SERVICE #================================================= -ynh_script_progression --message="Stopping and removing the systemd service..."0 +ynh_script_progression --message="Stopping and removing the systemd service..." # Remove the uwsgi configuration ynh_systemd_action --service_name=uwsgi --action=stop @@ -38,7 +38,7 @@ ynh_secure_remove --file="/etc/uwsgi/apps-available/$app.ini" #================================================= # REMOVE DEPENDENCIES #================================================= -ynh_script_progression --message="Removing dependencies..."3 +ynh_script_progression --message="Removing dependencies..." --weight=3 ynh_remove_app_dependencies diff --git a/scripts/upgrade b/scripts/upgrade index 1970424..fee6454 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -50,7 +50,7 @@ fi #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up the app before upgrading (may take a while)..."2 +ynh_script_progression --message="Backing up the app before upgrading (may take a while)..." --weight=2 # Backup the current version of the app ynh_backup_before_upgrade