Browse Source

Update zwave-js-ui-update.sh

tteckster 2 years ago
parent
commit
2252e28a6a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misc/zwave-js-ui-update.sh

+ 1 - 1
misc/zwave-js-ui-update.sh

@@ -24,7 +24,7 @@ function error_exit() {
 
 
 echo -en "${GN} Updating Z-wave JS UI... "
 echo -en "${GN} Updating Z-wave JS UI... "
 systemctl stop zwave-js-ui.service
 systemctl stop zwave-js-ui.service
-cd /opt/zwavejs2mqtt
+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 zwave-js-ui-v*.zip zwave-js-ui &>/dev/null
 echo -e "${CM}${CL} \r"
 echo -e "${CM}${CL} \r"