mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Pass -J to tar for xz decompression
Some tar implementations can't auto-detect compression formats, so they must be specified explicitly.
This commit is contained in:
parent
aaf57c983d
commit
43eb7b6756
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ fi
|
||||||
|
|
||||||
unpack=$tmpDir/unpack
|
unpack=$tmpDir/unpack
|
||||||
mkdir -p "$unpack"
|
mkdir -p "$unpack"
|
||||||
tar -xf "$tarball" -C "$unpack" || oops "failed to unpack '$url'"
|
tar -xJf "$tarball" -C "$unpack" || oops "failed to unpack '$url'"
|
||||||
|
|
||||||
script=$(echo "$unpack"/*/install)
|
script=$(echo "$unpack"/*/install)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue