Update tools.func
This commit is contained in:
parent
d2f96c89b7
commit
00c131f7aa
@ -968,7 +968,7 @@ function fetch_and_deploy_gh_release() {
|
|||||||
$STD apt-get install -y unzip
|
$STD apt-get install -y unzip
|
||||||
fi
|
fi
|
||||||
unzip -q "$tmpdir/$filename" -d "$unpack_tmp"
|
unzip -q "$tmpdir/$filename" -d "$unpack_tmp"
|
||||||
elif [[ "$filename" == *.tar.* ]]; then
|
elif [[ "$filename" == *.tar.* || "$filename" == *.tgz ]]; then
|
||||||
tar -xf "$tmpdir/$filename" -C "$unpack_tmp"
|
tar -xf "$tmpdir/$filename" -C "$unpack_tmp"
|
||||||
else
|
else
|
||||||
msg_error "Unsupported archive format: $filename"
|
msg_error "Unsupported archive format: $filename"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user