From d4af04dfd38588a98244ee3e450e4d22cbec7be7 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 1 Dec 2023 19:06:38 -0500 Subject: [PATCH] Update zwave-js-ui.sh change back to `*-linux` --- ct/zwave-js-ui.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/zwave-js-ui.sh b/ct/zwave-js-ui.sh index 5291e134..de994a7b 100644 --- a/ct/zwave-js-ui.sh +++ b/ct/zwave-js-ui.sh @@ -64,7 +64,7 @@ function update_script() { msg_info "Updating Z-wave JS UI" 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 &>/dev/null - \cp -R zwave-js-ui /opt/zwave-js-ui + \cp -R zwave-js-ui-linux /opt/zwave-js-ui service_path="/etc/systemd/system/zwave-js-ui.service" echo "[Unit] Description=zwave-js-ui @@ -73,7 +73,7 @@ function update_script() { [Service] User=root WorkingDirectory=/opt/zwave-js-ui - ExecStart=/opt/zwave-js-ui/zwave-js-ui + ExecStart=/opt/zwave-js-ui/zwave-js-ui-linux [Install] WantedBy=multi-user.target" >$service_path msg_ok "Updated Z-wave JS UI" @@ -83,7 +83,7 @@ function update_script() { msg_ok "Started Z-wave JS UI" msg_info "Cleanup" - rm -rf zwave-js-ui-${RELEASE}-linux.zip zwave-js-ui store + rm -rf zwave-js-ui-${RELEASE}-linux.zip zwave-js-ui-linux store msg_ok "Cleaned" msg_ok "Updated Successfully!\n" exit