diff --git a/ct/zigbee2mqtt.sh b/ct/zigbee2mqtt.sh index 04f4646d..e76cc344 100644 --- a/ct/zigbee2mqtt.sh +++ b/ct/zigbee2mqtt.sh @@ -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}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:9442${CL}"