From e116d008ca727c2dfbce25809821db6bf354f461 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 4 Jul 2011 14:54:09 -0400 Subject: lsinitcpio: fix logical error in reading compression --- lsinitcpio | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsinitcpio b/lsinitcpio index 36f4209..ca2b224 100755 --- a/lsinitcpio +++ b/lsinitcpio @@ -87,7 +87,7 @@ readonly NC BOLD BLUE GREEN RED YELLOW # read compression type case "$(file -b "$image")" in - data|LZMA*) compress=lzma ;; + @(data|LZMA)*) compress=lzma ;; gzip*) compress=gzip ;; bzip2*) compress=bzip2 ;; lzop*) compress=lzop ;; -- cgit v1.2.3-24-g4f1b