Gentoo Archives: gentoo-portage-dev

From: Ulrich Mueller <ulm@g.o>
To: "Michał Górny" <mgorny@g.o>
Cc: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] ecompress-file: Support decompressing .lz
Date: Sat, 17 Nov 2018 08:23:15
Message-Id: w6gftw0gljw.fsf@kph.uni-mainz.de
In Reply to: [gentoo-portage-dev] [PATCH] ecompress-file: Support decompressing .lz by "Michał Górny"
1 >>>>> On Sat, 17 Nov 2018, Michał Górny wrote:
2
3 > Signed-off-by: Michał Górny <mgorny@g.o>
4 > ---
5 > bin/ecompress-file | 3 +++
6 > 1 file changed, 3 insertions(+)
7
8 > diff --git a/bin/ecompress-file b/bin/ecompress-file
9 > index bc8fe5451..ccc2701c3 100755
10 > --- a/bin/ecompress-file
11 > +++ b/bin/ecompress-file
12 > @@ -29,6 +29,9 @@ compress_file() {
13 > *.lzma|*.xz)
14 > unxz -f "${x}" || __helpers_die "unxz failed"
15 > x=${x%.*};;
16 > + *.lz)
17 > + lzip -df "${x}" || __helpers_die "lzip -d failed"
18 > + x=${x%.lz};;
19 > esac
20
21 > filtered_args+=( "$x" )
22 > --
23 > 2.19.1
24
25 Does that mean that portage will gain a dependency on lzip now?
26
27 Ulrich

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies