Hi!
Running the script on a debian 12 system (sudo is installed) the script does not abort if the user (under which the script is run) is not in the sudoers group. As it is very unintuitive to abort from the password prompt and being in sudoers group is a hard requirement, this should be checked first.
Expected behaviour: abort with error
The used command was:
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --nodered-user=xxxxxx --skip-pi --node20
Hi! Running the script on a debian 12 system (sudo is installed) the script does not abort if the user (under which the script is run) is not in the sudoers group. As it is very unintuitive to abort from the password prompt and being in sudoers group is a hard requirement, this should be checked first.
Expected behaviour: abort with error
The used command was:
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --nodered-user=xxxxxx --skip-pi --node20
Cheers