lsinitrd: handle new output of "file" for XZ compressed images
parent
7db18ccd13
commit
b938443e2f
2
lsinitrd
2
lsinitrd
|
|
@ -30,6 +30,8 @@ if [[ "$FILE_T" =~ ": gzip compressed data" ]]; then
|
||||||
CAT=zcat
|
CAT=zcat
|
||||||
elif [[ "$FILE_T" =~ ": xz compressed data" ]]; then
|
elif [[ "$FILE_T" =~ ": xz compressed data" ]]; then
|
||||||
CAT=xzcat
|
CAT=xzcat
|
||||||
|
elif [[ "$FILE_T" =~ ": XZ compressed data" ]]; then
|
||||||
|
CAT=xzcat
|
||||||
elif [[ "$FILE_T" =~ ": data" ]]; then
|
elif [[ "$FILE_T" =~ ": data" ]]; then
|
||||||
CAT=lzcat
|
CAT=lzcat
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue