Update zwave-js-ui-install.sh

This commit is contained in:
tteckster 2022-10-05 20:46:41 -04:00 committed by GitHub
parent 89c85f8290
commit 4ed405ee60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,7 @@ cd /opt/zwave-js-ui
mkdir store mkdir store
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) }') 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 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}.zip zwave-js-ui &>/dev/null unzip zwave-js-ui-${RELEASE}-linux.zip zwave-js-ui &>/dev/null
msg_ok "Installed Z-Wave JS UI" msg_ok "Installed Z-Wave JS UI"
msg_info "Creating Service" msg_info "Creating Service"