Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: bin/
Date: Sun, 18 Nov 2018 08:13:35
Message-Id: 1542528784.7bda36f3103e0fa1a1a9b56fea3f552164e74c27.mgorny@gentoo
1 commit: 7bda36f3103e0fa1a1a9b56fea3f552164e74c27
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 17 08:13:20 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 18 08:13:04 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=7bda36f3
7
8 ecompress-file: Support decompressing .lz
9
10 Reviewed-by: Zac Medico <zmedico <AT> gentoo.org>
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 bin/ecompress-file | 3 +++
14 1 file changed, 3 insertions(+)
15
16 diff --git a/bin/ecompress-file b/bin/ecompress-file
17 index bc8fe5451..ccc2701c3 100755
18 --- a/bin/ecompress-file
19 +++ b/bin/ecompress-file
20 @@ -29,6 +29,9 @@ compress_file() {
21 *.lzma|*.xz)
22 unxz -f "${x}" || __helpers_die "unxz failed"
23 x=${x%.*};;
24 + *.lz)
25 + lzip -df "${x}" || __helpers_die "lzip -d failed"
26 + x=${x%.lz};;
27 esac
28
29 filtered_args+=( "$x" )