This commit is contained in:
Slaviša Arežina
2025-08-20 15:33:44 +02:00
committed by GitHub
parent f13c8ff3ce
commit 14418411f6
2 changed files with 4 additions and 2 deletions

View File

@@ -66,8 +66,9 @@ EOF
temp_file=$(mktemp)
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/
cp -f wastebin* /opt/wastebin/
chmod +x /opt/wastebin/wastebin
chmod +x /opt/wastebin/wastebin-ctl
echo "${RELEASE}" >/opt/${APP}_version.txt
msg_ok "Updated Wastebin"