bash : fix archive unpack new format.

This commit is contained in:
Dmitry Voronin 2023-11-02 23:51:54 +03:00
parent ed866d3be4
commit e9043a6579

View file

@ -159,10 +159,10 @@ unarchive()
# figure out the compression tool.
local compressor
case "${target##*.}" in
"xz")
"txz")
compressor="xz -d"
;;
"gz")
"tgz")
compressor="gzip -d"
;;
esac