aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-12-22 00:06:51 -0800
committerMichael Forney <mforney@mforney.org>2019-12-22 17:17:14 -0800
commit43eb7b6756a6441c8901342d657d299a6efdefbc (patch)
tree83e652a24c84eb9eff50ab2def181127f2675ff6
parentaaf57c983d6971983ab596aebef5f5cf647528cf (diff)
Pass -J to tar for xz decompression
Some tar implementations can't auto-detect compression formats, so they must be specified explicitly.
-rw-r--r--scripts/install.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install.in b/scripts/install.in
index 902758b13..76cb3b1fd 100644
--- a/scripts/install.in
+++ b/scripts/install.in
@@ -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)