mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-24 22:11:56 +00:00
Update zwavejs2mqtt-update.sh
This commit is contained in:
parent
2a9b48b2d5
commit
865947b8ba
@ -26,7 +26,7 @@ echo -en "${GN} Updating Zwavejs2MQTT... "
|
||||
systemctl stop zwavejs2mqtt.service
|
||||
cd /opt/zwavejs2mqtt
|
||||
curl -s https://api.github.com/repos/zwave-js/zwavejs2mqtt/releases/latest | grep "browser_download_url.*zip" | cut -d : -f 2,3 | tr -d \" | wget -i - &>/dev/null
|
||||
unzip -u zwavejs2mqtt-v*.zip zwavejs2mqtt &>/dev/null
|
||||
unzip -o zwavejs2mqtt-v*.zip zwavejs2mqtt &>/dev/null
|
||||
echo -e "${CM}${CL} \r"
|
||||
|
||||
echo -en "${GN} Checking Service... "
|
||||
|
Loading…
Reference in New Issue
Block a user