mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
Fix syntax error in unpack-channel
This commit is contained in:
parent
aeb810b01e
commit
c3f5413e80
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ let
|
||||||
gzpat="\.gz\$"
|
gzpat="\.gz\$"
|
||||||
if [[ "$src" =~ $xzpat ]]; then
|
if [[ "$src" =~ $xzpat ]]; then
|
||||||
${xz} -d < $src | ${tar} xf - ${tarFlags}
|
${xz} -d < $src | ${tar} xf - ${tarFlags}
|
||||||
else if [[ "$src" =~ $gzpat ]]; then
|
elif [[ "$src" =~ $gzpat ]]; then
|
||||||
${gzip} -d < $src | ${tar} xf - ${tarFlags}
|
${gzip} -d < $src | ${tar} xf - ${tarFlags}
|
||||||
else
|
else
|
||||||
${bzip2} -d < $src | ${tar} xf - ${tarFlags}
|
${bzip2} -d < $src | ${tar} xf - ${tarFlags}
|
||||||
|
|
Loading…
Reference in a new issue