add .xz to lel-open - lel - Farbfeld image viewer
(HTM) git clone git://git.codemadness.org/lel
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 9dc3cfac9de524538f535a6dd343b41ed53b7014
(DIR) parent d5c9d0a28038fc1735977d54d649dee2f187f9a1
(HTM) Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Tue, 26 Jul 2016 20:24:21 +0300
add .xz to lel-open
Diffstat:
M lel-open | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/lel-open b/lel-open
@@ -16,6 +16,8 @@ elif test x"$ext" = x".bz2"; then
convert="bzip2 -dc"
elif test x"$ext" = x".gz"; then
convert="gzip -dc"
+elif test x"$ext" = x".xz"; then
+ convert="xz -dc"
else
echo "unknown extension \"$ext\"" >&2
fi