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:
parent
e41124b637
commit
5ce3d59278
1 changed files with 3 additions and 1 deletions
|
@ -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/"
|
||||||
|
|
Loading…
Reference in a new issue