Update wastebin.sh (#2896)

This commit is contained in:
Tobias
2025-03-06 22:04:57 +01:00
committed by GitHub
parent bbbbd3cb5f
commit 9d46a6d133

View File

@@ -65,7 +65,7 @@ EOF
msg_info "Updating Wastebin" msg_info "Updating Wastebin"
temp_file=$(mktemp) temp_file=$(mktemp)
wget -q https://github.com/matze/wastebin/releases/download/${RELEASE}/wastebin_${RELEASE}_x86_64-unknown-linux-musl.zip -O $temp_file wget -q https://github.com/matze/wastebin/releases/download/${RELEASE}/wastebin_${RELEASE}_x86_64-unknown-linux-musl.zip -O $temp_file
unzip -q $temp_file unzip -o -q $temp_file
cp -f wastebin /opt/wastebin/ cp -f wastebin /opt/wastebin/
chmod +x /opt/wastebin/wastebin chmod +x /opt/wastebin/wastebin
echo "${RELEASE}" >/opt/${APP}_version.txt echo "${RELEASE}" >/opt/${APP}_version.txt