lsinitrd: handle LZMA file type

master
Harald Hoyer 2012-04-02 11:03:53 +02:00
parent fc87119069
commit bdb818997d
1 changed files with 3 additions and 1 deletions

View File

@ -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