mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36: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\$"
|
||||
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