From 83353a772c586c6ff6c02d823170cf146290a254 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 3 Jul 2025 15:04:27 +0200 Subject: [PATCH] Update tools.func --- misc/tools.func | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/tools.func b/misc/tools.func index ac328097..61dfb39c 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -919,8 +919,8 @@ function fetch_and_deploy_gh_release() { $STD apt-get install -y unzip fi $STD unzip "$tmpdir/$filename" -d "$target" - elif [[ "$filename" == *.tar.gz ]]; then - tar -xzf "$tmpdir/$filename" -C "$target" + elif [[ "$filename" == *.tar.* ]]; then + tar -xf "$tmpdir/$filename" -C "$target" else msg_error "Unsupported archive format: $filename" rm -rf "$tmpdir"