mirror of https://github.com/tteck/Proxmox.git
Update zwave-js-ui-install.sh
This commit is contained in:
parent
a2d8aa3cd2
commit
9757969394
|
@ -77,10 +77,9 @@ msg_ok "Installed Dependencies"
|
||||||
msg_info "Installing Z-Wave JS UI"
|
msg_info "Installing Z-Wave JS UI"
|
||||||
mkdir /opt/zwave-js-ui
|
mkdir /opt/zwave-js-ui
|
||||||
cd /opt/zwave-js-ui
|
cd /opt/zwave-js-ui
|
||||||
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}-linux.zip zwave-js-ui-linux &>/dev/null
|
unzip zwave-js-ui-${RELEASE}-linux.zip &>/dev/null
|
||||||
msg_ok "Installed Z-Wave JS UI"
|
msg_ok "Installed Z-Wave JS UI"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
|
|
Loading…
Reference in New Issue