bash : fix archive unpack new format.
This commit is contained in:
parent
ed866d3be4
commit
e9043a6579
|
@ -159,10 +159,10 @@ unarchive()
|
||||||
# figure out the compression tool.
|
# figure out the compression tool.
|
||||||
local compressor
|
local compressor
|
||||||
case "${target##*.}" in
|
case "${target##*.}" in
|
||||||
"xz")
|
"txz")
|
||||||
compressor="xz -d"
|
compressor="xz -d"
|
||||||
;;
|
;;
|
||||||
"gz")
|
"tgz")
|
||||||
compressor="gzip -d"
|
compressor="gzip -d"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Reference in a new issue