mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-10 17:59:17 +00:00
Update zigbee2mqtt.sh
This commit is contained in:
parent
56febab22e
commit
79a2ff386c
@ -33,7 +33,7 @@ function update_script() {
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
if [[ "$(node -v | cut -d 'v' -f 2)" == "18."* ]]; then
|
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..."
|
echo "Installing NPM..."
|
||||||
apt-get install -y npm >/dev/null 2>&1
|
apt-get install -y npm >/dev/null 2>&1
|
||||||
echo "Installed NPM..."
|
echo "Installed NPM..."
|
||||||
@ -127,4 +127,4 @@ description
|
|||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
echo -e "${INFO}${YW} Access it using the following URL:${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}"
|
||||||
|
Loading…
Reference in New Issue
Block a user