From 43eb7b6756a6441c8901342d657d299a6efdefbc Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 22 Dec 2019 00:06:51 -0800 Subject: [PATCH] Pass -J to tar for xz decompression Some tar implementations can't auto-detect compression formats, so they must be specified explicitly. --- scripts/install.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)