Skip to content
Snippets Groups Projects
Commit e116d008 authored by Dave Reisner's avatar Dave Reisner
Browse files

lsinitcpio: fix logical error in reading compression

parent 9e945503
No related branches found
No related tags found
No related merge requests found
......@@ -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 ;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment