From 9827b5bb2b3d1a7863de2c99047857276f4dcfb7 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Wed, 4 Jul 2018 22:56:18 +0200 Subject: [PATCH] Prevent useless error message --- scripts/remove | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/remove b/scripts/remove index 32ef767..30e8f7c 100644 --- a/scripts/remove +++ b/scripts/remove @@ -21,13 +21,6 @@ final_path=$(ynh_app_setting_get "$app" final_path) #================================================= # STANDARD REMOVE -#================================================= -# STOP AND REMOVE SERVICE -#================================================= - -# Remove the dedicated systemd config -ynh_remove_systemd_config - #================================================= # REMOVE SERVICE FROM ADMIN PANEL #================================================= @@ -38,6 +31,13 @@ then yunohost service remove "$app" fi +#================================================= +# STOP AND REMOVE SERVICE +#================================================= + +# Remove the dedicated systemd config +ynh_remove_systemd_config + #================================================= # REMOVE DEPENDENCIES #=================================================