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:
+1
-1
@@ -56,7 +56,7 @@ fi
|
||||
|
||||
unpack=$tmpDir/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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user