From b98d57c78ec3ba35a725e262e312a6f92a59f237 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Fonzo?= Date: Sat, 18 May 2019 09:36:44 -0300 Subject: [PATCH] qi: do not use tarlz for decompress .tar.lz files when unpack() Previously, tarlz was introduced in the commit c9063f925b03623920481c9cc41ae8462bdd0b87 The problem is that the .tar.lz has been produced using another archiver format, like the one of GNU tar, tarlz won't be able to decompress the GNU format, because simply does not understand this format. So we revert the change in order to unpack "global" .tar.lz files combining lzip and (GNU) tar. --- qi/src/qi.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qi/src/qi.in b/qi/src/qi.in index fce69f11..9a7656a1 100644 --- a/qi/src/qi.in +++ b/qi/src/qi.in @@ -1126,8 +1126,8 @@ unpack() chkstatus_or_exit 3 ;; *.tar.lz | *.tlz ) - tarlz -tf "$file" > /dev/null && \ - tarlz -xf "$file" + lzip -cd "$file" | tar -tf - > /dev/null && \ + lzip -cd "$file" | tar -xpf - chkstatus_or_exit 3 ;; *.tar.xz | *.txz ) -- 2.11.4.GIT