summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-07-04 20:54:09 +0200
committerDave Reisner <dreisner@archlinux.org>2011-07-05 05:00:25 +0200
commite116d008ca727c2dfbce25809821db6bf354f461 (patch)
treead049656aa09c86b19d3e5f2d5973b6cead56ac0
parent9e94550348a9bc523b7f31944b8b1806c70eacd9 (diff)
downloadmkinitcpio-e116d008ca727c2dfbce25809821db6bf354f461.tar.gz
mkinitcpio-e116d008ca727c2dfbce25809821db6bf354f461.tar.xz
lsinitcpio: fix logical error in reading compression0.7.2
-rwxr-xr-xlsinitcpio2
1 files changed, 1 insertions, 1 deletions
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 ;;