From c0bb9919d83c9c6394453d16cf7f2bc7788c9d2d Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 29 Dec 2019 17:49:45 +0100 Subject: [PATCH] remove ynh_script_progression --- scripts/backup | 2 +- scripts/change_url | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/backup b/scripts/backup index 12c2189..93bad30 100644 --- a/scripts/backup +++ b/scripts/backup @@ -72,7 +72,7 @@ ynh_backup --src_path="/etc/systemd/system/$app.service" #================================================= # START SYSTEMD SERVICE #================================================= -ynh_script_progression --message="Starting a systemd service..." --time --weight=1 +ynh_print_info --message="Starting a systemd service..." ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started Distbin Service" diff --git a/scripts/change_url b/scripts/change_url index bf2597a..b71033e 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -38,7 +38,7 @@ port=$(ynh_app_setting_get --app=$app --key=port) #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up the app before changing its url (may take a while)..." --time --weight=1 +ynh_print_info --message="Backing up the app before changing its url (may take a while)..." # Backup the current version of the app ynh_backup_before_upgrade