From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A93CD138334 for ; Sun, 18 Nov 2018 08:13:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D864E08C4; Sun, 18 Nov 2018 08:13:34 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6F441E08C4 for ; Sun, 18 Nov 2018 08:13:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 66683335C31 for ; Sun, 18 Nov 2018 08:13:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 74A4D456 for ; Sun, 18 Nov 2018 08:13:31 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1542528784.7bda36f3103e0fa1a1a9b56fea3f552164e74c27.mgorny@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: bin/ X-VCS-Repository: proj/portage X-VCS-Files: bin/ecompress-file X-VCS-Directories: bin/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7bda36f3103e0fa1a1a9b56fea3f552164e74c27 X-VCS-Branch: master Date: Sun, 18 Nov 2018 08:13:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bd5066c0-84f2-43f2-90cb-4fb23e3bde90 X-Archives-Hash: 9b2f93f5cfa33ce7830f85b2755086f6 commit: 7bda36f3103e0fa1a1a9b56fea3f552164e74c27 Author: Michał Górny gentoo org> AuthorDate: Sat Nov 17 08:13:20 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Nov 18 08:13:04 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=7bda36f3 ecompress-file: Support decompressing .lz Reviewed-by: Zac Medico gentoo.org> Signed-off-by: Michał Górny gentoo.org> bin/ecompress-file | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/ecompress-file b/bin/ecompress-file index bc8fe5451..ccc2701c3 100755 --- a/bin/ecompress-file +++ b/bin/ecompress-file @@ -29,6 +29,9 @@ compress_file() { *.lzma|*.xz) unxz -f "${x}" || __helpers_die "unxz failed" x=${x%.*};; + *.lz) + lzip -df "${x}" || __helpers_die "lzip -d failed" + x=${x%.lz};; esac filtered_args+=( "$x" )