mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-26 09:14:56 +02:00
[arm64] Port scripts between warracker-zwavejsui to support arm64 (#15291)
* [arm64] Port scripts between warracker-zwavejsui to support arm64 * Update zerotier-one-install.sh
This commit is contained in:
@@ -20,7 +20,7 @@ msg_ok "Installed dependencies"
|
||||
msg_info "Installing Wastebin"
|
||||
temp_file=$(mktemp)
|
||||
RELEASE=$(curl -fsSL https://api.github.com/repos/matze/wastebin/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||
curl -fsSL "https://github.com/matze/wastebin/releases/download/${RELEASE}/wastebin_${RELEASE}_x86_64-unknown-linux-musl.tar.zst" -o "$temp_file"
|
||||
curl -fsSL "https://github.com/matze/wastebin/releases/download/${RELEASE}/wastebin_${RELEASE}_$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl.tar.zst" -o "$temp_file"
|
||||
tar -xf "$temp_file"
|
||||
mkdir -p /opt/wastebin
|
||||
mv wastebin* /opt/wastebin/
|
||||
|
||||
Reference in New Issue
Block a user