Update tools.func

This commit is contained in:
CanbiZ 2025-06-18 09:22:03 +02:00
parent 89af776d8f
commit d3db08033d

View File

@ -874,7 +874,7 @@ function fetch_and_deploy_gh_release() {
if ! command -v unzip &>/dev/null; then if ! command -v unzip &>/dev/null; then
$STD apt-get install -y unzip $STD apt-get install -y unzip
fi fi
unzip "$tmpdir/$filename" -d "$target" $STD unzip "$tmpdir/$filename" -d "$target"
elif [[ "$filename" == *.tar.gz ]]; then elif [[ "$filename" == *.tar.gz ]]; then
tar -xzf "$tmpdir/$filename" -C "$target" tar -xzf "$tmpdir/$filename" -C "$target"
else else