mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-26 18:46:18 +00:00
Update zigbee2mqtt-install.sh
This commit is contained in:
parent
5551fa84d8
commit
84992c0b84
@ -43,7 +43,6 @@ msg_ok "Installed pnpm"
|
|||||||
|
|
||||||
msg_info "Setting up Zigbee2MQTT"
|
msg_info "Setting up Zigbee2MQTT"
|
||||||
cd /opt
|
cd /opt
|
||||||
$STD corepack enable
|
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/Koenkk/zigbee2mqtt/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
RELEASE=$(curl -s https://api.github.com/repos/Koenkk/zigbee2mqtt/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||||
wget -q "https://github.com/Koenkk/zigbee2mqtt/archive/refs/tags/${RELEASE}.zip"
|
wget -q "https://github.com/Koenkk/zigbee2mqtt/archive/refs/tags/${RELEASE}.zip"
|
||||||
unzip -q ${RELEASE}.zip
|
unzip -q ${RELEASE}.zip
|
||||||
|
Loading…
Reference in New Issue
Block a user