forked from forkanization/Proxmox-arm64
Revert "Move changes from test branch to upstream merge branch"
This reverts commit 3bbbffb688.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (c) 2021-2025 tteck
|
||||
# Copyright (c) 2021-2024 tteck
|
||||
# Author: tteck (tteckster)
|
||||
# License: MIT
|
||||
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
||||
@@ -18,8 +18,8 @@ $STD apt-get install -y \
|
||||
curl \
|
||||
sudo \
|
||||
mc \
|
||||
wget \
|
||||
openssh-server
|
||||
openssh-server \
|
||||
wget
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing Z-Wave JS UI"
|
||||
@@ -27,8 +27,8 @@ mkdir -p /opt/zwave-js-ui
|
||||
mkdir -p /opt/zwave_store
|
||||
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 -q https://github.com/zwave-js/zwave-js-ui/releases/download/${RELEASE}/zwave-js-ui-${RELEASE}-linux-arm64.zip
|
||||
unzip -q zwave-js-ui-${RELEASE}-linux-arm64.zip
|
||||
wget -q https://github.com/zwave-js/zwave-js-ui/releases/download/${RELEASE}/zwave-js-ui-${RELEASE}-linux.zip
|
||||
unzip -q zwave-js-ui-${RELEASE}-linux.zip
|
||||
cat <<EOF >/opt/.env
|
||||
ZWAVEJS_EXTERNAL_CONFIG=/opt/zwave_store/.config-db
|
||||
STORE_DIR=/opt/zwave_store
|
||||
@@ -59,7 +59,7 @@ motd_ssh
|
||||
customize
|
||||
|
||||
msg_info "Cleaning up"
|
||||
rm zwave-js-ui-${RELEASE}-linux-arm64.zip
|
||||
rm zwave-js-ui-${RELEASE}-linux.zip
|
||||
$STD apt-get -y autoremove
|
||||
$STD apt-get -y autoclean
|
||||
msg_ok "Cleaned"
|
||||
|
||||
Reference in New Issue
Block a user