lsinitrd: handle new output of "file" for XZ compressed images

master
Harald Hoyer 2011-05-19 23:20:00 +02:00
parent 7db18ccd13
commit b938443e2f
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ if [[ "$FILE_T" =~ ": gzip compressed data" ]]; then
CAT=zcat
elif [[ "$FILE_T" =~ ": xz compressed data" ]]; then
CAT=xzcat
elif [[ "$FILE_T" =~ ": XZ compressed data" ]]; then
CAT=xzcat
elif [[ "$FILE_T" =~ ": data" ]]; then
CAT=lzcat
fi