mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-02 11:03:56 +01:00
Update zwave-js-ui-update.sh
This commit is contained in:
parent
cce7033d8f
commit
a8c195d9b4
@ -26,7 +26,7 @@ echo -en "${GN} Updating Z-wave JS UI... "
|
|||||||
systemctl stop zwave-js-ui.service
|
systemctl stop zwave-js-ui.service
|
||||||
cd /opt/zwave-js-ui
|
cd /opt/zwave-js-ui
|
||||||
curl -s https://api.github.com/repos/zwave-js/zwave-js-ui/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/zwave-js-ui/releases/latest | grep "browser_download_url.*zip" | cut -d : -f 2,3 | tr -d \" | wget -i - &>/dev/null
|
||||||
unzip zwave-js-ui-v*.zip zwave-js-ui &>/dev/null
|
unzip -o zwave-js-ui-v*.zip zwave-js-ui &>/dev/null
|
||||||
echo -e "${CM}${CL} \r"
|
echo -e "${CM}${CL} \r"
|
||||||
|
|
||||||
echo -en "${GN} Cleanup... "
|
echo -en "${GN} Cleanup... "
|
||||||
|
Loading…
Reference in New Issue
Block a user