diff --git a/misc/zwave-js-ui-update.sh b/misc/zwave-js-ui-update.sh index 645145d3..0a1d48c3 100644 --- a/misc/zwave-js-ui-update.sh +++ b/misc/zwave-js-ui-update.sh @@ -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... "