From d046a31d9f8e4ef581631d1d2b1f421646985ee0 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Fri, 18 Jun 2021 08:50:41 +0200 Subject: [PATCH] Remove all --time flags for ynh_script_progression --- scripts/remove | 4 ++-- scripts/restore | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/remove b/scripts/remove index a9ab3db..ad0998e 100644 --- a/scripts/remove +++ b/scripts/remove @@ -76,13 +76,13 @@ ynh_remove_logrotate if [[ $discovery_service -eq 1 ]] && yunohost firewall list | grep -q "\- 1900$" then - ynh_script_progression --message="Closing port 1900..." --time --weight=1 + ynh_script_progression --message="Closing port 1900..." --weight=1 ynh_exec_warn_less yunohost firewall disallow UDP 1900 fi if [[ $discovery_client -eq 1 ]] && yunohost firewall list | grep -q "\- 7359$" then - ynh_script_progression --message="Closing port 7359..." --time --weight=1 + ynh_script_progression --message="Closing port 7359..." --weight=1 ynh_exec_warn_less yunohost firewall disallow UDP 7359 fi diff --git a/scripts/restore b/scripts/restore index 4791091..b21afa4 100644 --- a/scripts/restore +++ b/scripts/restore @@ -129,7 +129,7 @@ ynh_exec_warn_less apt-get -f install $tempdir/jellyfin-web.deb -y -o Dpkg::Opti #================================================= # RESTORE SYSTEMD #================================================= -ynh_script_progression --message="Restoring the systemd configuration..." --time --weight=1 +ynh_script_progression --message="Restoring the systemd configuration..." --weight=1 ynh_restore_file --origin_path="/etc/systemd/system/jellyfin.service.d" --not_mandatory ynh_restore_file --origin_path="/lib/systemd/system/jellyfin.service"