From 5bd642ca5c23c414657073e499cbe641376b2b87 Mon Sep 17 00:00:00 2001 From: Kayou Date: Mon, 3 Jun 2019 14:22:01 +0200 Subject: [PATCH] Move code to avoid a warning during the remove --- scripts/remove | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/remove b/scripts/remove index 5fc03e2..76b964c 100644 --- a/scripts/remove +++ b/scripts/remove @@ -22,13 +22,6 @@ peer_port=$(ynh_app_setting_get --app=$app --key=peer_port) #================================================= # STANDARD REMOVE -#================================================= -# REMOVE TRANSMISSION-DAEMON -#================================================= -ynh_script_progression --message="Removing transmission..." --weight=9 - -ynh_remove_app_dependencies - #================================================= # REMOVE SERVICE FROM ADMIN PANEL #================================================= @@ -40,6 +33,13 @@ then yunohost service remove transmission-daemon fi +#================================================= +# REMOVE TRANSMISSION-DAEMON +#================================================= +ynh_script_progression --message="Removing transmission..." --weight=9 + +ynh_remove_app_dependencies + #================================================= # CLOSE THE PORTS #=================================================