Update tools.func
This commit is contained in:
parent
0e46d83110
commit
7221b39759
@ -889,7 +889,7 @@ function fetch_and_deploy_gh_release() {
|
||||
}
|
||||
|
||||
mkdir -p "$target"
|
||||
tar -xzf "$tmpdir/$filename" -C "$target"
|
||||
[[ $filename == *.zip ]] && unzip "$tmpdir/$filename" -d "$target" || [[ $filename == *.tar.gz ]] && tar -xzf "$tmpdir/$filename" -C "$target"
|
||||
|
||||
elif [[ "$mode" == "singlefile" ]]; then
|
||||
local pattern="$6"
|
||||
|
Loading…
x
Reference in New Issue
Block a user