mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-07-09 23:47:38 +00:00
Refactor: Remove redundant dependencies & unify unzip usage (#4780)
* refactor unzip / remove dep * remove deps from alpine packages * remove gnupg * remove gnupg
This commit is contained in:
@ -19,7 +19,7 @@ mkdir -p /opt/zwave_store
|
||||
cd /opt/zwave-js-ui
|
||||
RELEASE=$(curl -fsSL https://api.github.com/repos/zwave-js/zwave-js-ui/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||
curl -fsSL "https://github.com/zwave-js/zwave-js-ui/releases/download/${RELEASE}/zwave-js-ui-${RELEASE}-linux.zip" -o $(basename "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
|
||||
$STD unzip zwave-js-ui-${RELEASE}-linux.zip
|
||||
cat <<EOF >/opt/.env
|
||||
ZWAVEJS_EXTERNAL_CONFIG=/opt/zwave_store/.config-db
|
||||
STORE_DIR=/opt/zwave_store
|
||||
|
Reference in New Issue
Block a user