From 246af00145ccd6c35b9a8e333a8c9177f4846223 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Fri, 3 Apr 2020 10:15:43 +0000 Subject: [PATCH] [fix] remove: removing sudo and global removal of nodered temporary fix: in case of multiple installs, one removal would remove all --- scripts/remove | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index 14f06a9..4b9c6ce 100755 --- a/scripts/remove +++ b/scripts/remove @@ -90,7 +90,9 @@ fi #================================================= # 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 ynh_secure_remove --file="/var/log/$app/"