1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-11-28 09:33:13 +02:00

Update zwave-js-ui-update.sh

This commit is contained in:
tteckster 2022-10-05 21:01:16 -04:00 committed by GitHub
parent 342ce12290
commit a28f172757
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ systemctl stop zwave-js-ui.service
cd /opt/zwave-js-ui
RELEASE=$(curl -s https://api.github.com/repos/zwave-js/zwave-js-ui/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
wget https://github.com/zwave-js/zwave-js-ui/releases/download/${RELEASE}/zwave-js-ui-${RELEASE}-linux.zip &>/dev/null
unzip zwave-js-ui-${RELEASE}-linux.zip zwave-js-ui &>/dev/null
unzip zwave-js-ui-${RELEASE}-linux.zip zwave-js-ui-linux &>/dev/null
echo -e "${CM}${CL} \r"
echo -en "${GN} Cleanup... "