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"