forked from lix-project/lix
Fix syntax error in unpack-channel
This commit is contained in:
parent
aeb810b01e
commit
c3f5413e80
|
@ -10,7 +10,7 @@ let
|
|||
gzpat="\.gz\$"
|
||||
if [[ "$src" =~ $xzpat ]]; then
|
||||
${xz} -d < $src | ${tar} xf - ${tarFlags}
|
||||
else if [[ "$src" =~ $gzpat ]]; then
|
||||
elif [[ "$src" =~ $gzpat ]]; then
|
||||
${gzip} -d < $src | ${tar} xf - ${tarFlags}
|
||||
else
|
||||
${bzip2} -d < $src | ${tar} xf - ${tarFlags}
|
||||
|
|
Loading…
Reference in a new issue