Update tools.func
This commit is contained in:
parent
d361d23a2d
commit
ce33ab61b5
@ -950,6 +950,7 @@ function fetch_and_deploy_gh_release() {
|
|||||||
tar --strip-components=1 -xf "$tmpdir/$filename" -C "$target"
|
tar --strip-components=1 -xf "$tmpdir/$filename" -C "$target"
|
||||||
else
|
else
|
||||||
tar -xf "$tmpdir/$filename" -C "$target"
|
tar -xf "$tmpdir/$filename" -C "$target"
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
msg_error "Unsupported archive format: $filename"
|
msg_error "Unsupported archive format: $filename"
|
||||||
rm -rf "$tmpdir"
|
rm -rf "$tmpdir"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user