Update zigbee2mqtt.sh

This commit is contained in:
CanbiZ 2025-01-04 09:30:23 +01:00 committed by GitHub
parent 56febab22e
commit 79a2ff386c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ function update_script() {
exit
fi
if [[ "$(node -v | cut -d 'v' -f 2)" == "18."* ]]; then
if ! command -v npm >/dev/null 2>&1; then
if ! command -v pnpm >/dev/null 2>&1; then
echo "Installing NPM..."
apt-get install -y npm >/dev/null 2>&1
echo "Installed NPM..."
@ -127,4 +127,4 @@ description
msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9442${CL}"
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9442${CL}"