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.
|
||||
local compressor
|
||||
case "${target##*.}" in
|
||||
"xz")
|
||||
"txz")
|
||||
compressor="xz -d"
|
||||
;;
|
||||
"gz")
|
||||
"tgz")
|
||||
compressor="gzip -d"
|
||||
;;
|
||||
esac
|
||||
|
|
Reference in a new issue