From 452ba92a6f257f653f5c7c2299a6388cfe30a7ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Wed, 20 Aug 2025 15:54:53 +0200 Subject: [PATCH] Update wastebin.sh (#7024) --- ct/wastebin.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ct/wastebin.sh b/ct/wastebin.sh index ce1223579f..d821faa92a 100644 --- a/ct/wastebin.sh +++ b/ct/wastebin.sh @@ -27,6 +27,10 @@ function update_script() { msg_error "No ${APP} Installation Found!" exit fi + if ! [[ $(dpkg -s zstd 2>/dev/null) ]]; then + $STD apt-get update + $STD apt-get install -y zstd + fi RELEASE=$(curl -fsSL https://api.github.com/repos/matze/wastebin/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') # Dirty-Fix 03/2025 for missing APP_version.txt on old installations, set to pre-latest release msg_info "Running Migration"