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"