From bec4c2407b4f6b4e398a2be8d000f9868e11ba25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Bourr=C3=A9?= Date: Sun, 3 Feb 2019 01:04:06 +0100 Subject: [PATCH] fix small bug in remove script --- scripts/remove | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/scripts/remove b/scripts/remove index 4784fa9..94eb6b8 100644 --- a/scripts/remove +++ b/scripts/remove @@ -29,16 +29,6 @@ db_user=$db_name # Remove the dedicated systemd config ynh_remove_systemd_config -#================================================= -# REMOVE SERVICE FROM ADMIN PANEL -#================================================= - -if yunohost service status | grep -q $app -then - echo "Remove $app service" - yunohost service remove $app -fi - #================================================= # REMOVE APP MAIN DIR #================================================= @@ -57,7 +47,7 @@ ynh_remove_nginx_config # Delete Log #================================================= -ynh_secure_remove "/var/log/$app/" +ynh_secure_remove "/var/log/$app.log" #================================================= # REMOVE LOGROTATE CONFIGURATION