From 2a9dc20131a34722c78f5e8f622cd411a21eaf21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20W=C3=BChr?= Date: Thu, 14 Dec 2023 15:45:44 +0100 Subject: [PATCH] Change progression message order in scripts/remove Credits: @Salamandar Co-authored-by: Salamandar <6552989+Salamandar@users.noreply.github.com> --- scripts/remove | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/remove b/scripts/remove index 8c44094..6dc0d3b 100755 --- a/scripts/remove +++ b/scripts/remove @@ -8,8 +8,6 @@ source /usr/share/yunohost/helpers #================================================= # REMOVE SYSTEMD SERVICE #================================================= -ynh_script_progression --message="Removing system configurations related to $app..." --weight=1 - # Remove the service from the list of services known by YunoHost (added from `yunohost service add`) if ynh_exec_warn_less yunohost service status $app >/dev/null then @@ -17,6 +15,8 @@ then yunohost service remove $app fi +ynh_script_progression --message="Removing system configurations related to $app..." --weight=1 + ynh_remove_systemd_config ynh_remove_nginx_config