From 7dacf55dfe39605cd528cce480ae677432aa385f Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 24 May 2019 04:59:14 +0200 Subject: [PATCH] Fix package_linter error --- scripts/remove | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/remove b/scripts/remove index 988301f..ed12aff 100755 --- a/scripts/remove +++ b/scripts/remove @@ -37,7 +37,7 @@ ynh_remove_systemd_config # Legacy, for older versions of this app which used supervisor if [ -f "/etc/supervisor/conf.d/${app}.conf" ]; then sudo supervisorctl stop "$app" - sudo rm -f "/etc/supervisor/conf.d/${app}.conf" + sudo ynh_secure_remove --file="/etc/supervisor/conf.d/${app}.conf" fi #================================================= @@ -71,7 +71,7 @@ ynh_remove_nginx_config # REMOVE LOG FILE #================================================= -sudo rm -rf "$logs_path" +sudo ynh_secure_remove --file="$logs_path" #================================================= # REMOVE DEDICATED USER