Update node-red-install.sh

fix install
This commit is contained in:
tteckster 2022-10-23 10:50:26 -04:00 committed by GitHub
parent bb469a2b3e
commit 94a2925230
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -78,9 +78,8 @@ apt-get install -y sudo &>/dev/null
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Node-Red" msg_info "Installing Node-Red"
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --confirm-root --confirm-install --skip-pi &>/dev/nul bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --confirm-root --confirm-install --skip-pi --node18 --no-init &>/dev/nul
sudo systemctl enable nodered.service &>/dev/null systemctl enable --now nodered.service &>/dev/null
sudo systemctl start nodered.service &>/dev/null
msg_ok "Installed Node-Red" msg_ok "Installed Node-Red"
PASS=$(grep -w "root" /etc/shadow | cut -b6); PASS=$(grep -w "root" /etc/shadow | cut -b6);