1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodered_ynh.git synced 2024-09-03 19:46:25 +02:00

[enh] improve remove script

This commit is contained in:
tituspijean 2020-03-31 19:49:18 +00:00
parent ac80557832
commit 47baee2b69

View file

@ -92,12 +92,6 @@ fi
# Remove from npm # Remove from npm
sudo npm uninstall node-red -g sudo npm uninstall node-red -g
# Remove a cron file
ynh_secure_remove --file="/etc/cron.d/$app"
# Remove a directory securely
ynh_secure_remove --file="/etc/$app/"
# Remove the log files # Remove the log files
ynh_secure_remove --file="/var/log/$app/" ynh_secure_remove --file="/var/log/$app/"