From bdb818997d83316f4b497004fe9085c4bbd2effa Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 2 Apr 2012 11:03:53 +0200 Subject: lsinitrd: handle LZMA file type --- lsinitrd.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lsinitrd.sh') diff --git a/lsinitrd.sh b/lsinitrd.sh index ebae1e0e..1eaa37dd 100755 --- a/lsinitrd.sh +++ b/lsinitrd.sh @@ -46,8 +46,10 @@ elif [[ "$FILE_T" =~ :\ xz\ compressed\ data ]]; then CAT="xzcat $XZ_SINGLE_STREAM" elif [[ "$FILE_T" =~ :\ XZ\ compressed\ data ]]; then CAT="xzcat $XZ_SINGLE_STREAM" +elif [[ "$FILE_T" =~ :\ LZMA ]]; then + CAT="xzcat $XZ_SINGLE_STREAM" elif [[ "$FILE_T" =~ :\ data ]]; then - CAT=lzcat + CAT="xzcat $XZ_SINGLE_STREAM" fi if [[ $# -eq 2 ]]; then -- cgit v1.2.3