From 47a12576ffaf820dab7b380f9a20fe971b53b1e7 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some tar implementations can't auto-detect compression formats, so they must be specified explicitly. (cherry picked from commit 43eb7b6756a6441c8901342d657d299a6efdefbc) Signed-off-by: Domen Kožar --- 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)