fix(wastebin): use tar asset (#4934)

* fix(wastebin): use tar asset

* and install script...

* testing

* Revert "testing"

This reverts commit 74d2fd163b.
This commit is contained in:
Dan Beghin 2025-06-02 14:01:19 -05:00 committed by GitHub
parent 1e3d0e501b
commit b2a80b6971
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -64,8 +64,8 @@ EOF
msg_info "Updating Wastebin"
temp_file=$(mktemp)
curl -fsSL "https://github.com/matze/wastebin/releases/download/${RELEASE}/wastebin_${RELEASE}_x86_64-unknown-linux-musl.zip" -o "$temp_file"
$STD unzip -o $temp_file
curl -fsSL "https://github.com/matze/wastebin/releases/download/${RELEASE}/wastebin_${RELEASE}_x86_64-unknown-linux-musl.tar.zst" -o "$temp_file"
tar -xf $temp_file
cp -f wastebin /opt/wastebin/
chmod +x /opt/wastebin/wastebin
echo "${RELEASE}" >/opt/${APP}_version.txt