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

[fix] remove: removing sudo and global removal of nodered

temporary fix: in case of multiple installs, one removal would remove all
This commit is contained in:
tituspijean 2020-04-03 10:15:43 +00:00
parent e41124b637
commit 5ce3d59278

View file

@ -90,7 +90,9 @@ fi
#================================================= #=================================================
# Remove from npm # Remove from npm
sudo npm uninstall node-red -g # If multiple instances, it will break the others
# Need a way to count
#npm uninstall node-red -g
# Remove the log files # Remove the log files
ynh_secure_remove --file="/var/log/$app/" ynh_secure_remove --file="/var/log/$app/"