Update zwavejs2mqtt-update.sh

This commit is contained in:
tteckster 2022-05-12 17:34:37 -04:00 committed by GitHub
parent 2a9b48b2d5
commit 865947b8ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ echo -en "${GN} Updating Zwavejs2MQTT... "
systemctl stop zwavejs2mqtt.service systemctl stop zwavejs2mqtt.service
cd /opt/zwavejs2mqtt 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 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 -e "${CM}${CL} \r"
echo -en "${GN} Checking Service... " echo -en "${GN} Checking Service... "