commit: 7bda36f3103e0fa1a1a9b56fea3f552164e74c27
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 17 08:13:20 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> 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 <zmedico <AT> gentoo.org>
Signed-off-by: Michał Górny <mgorny <AT> 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" )