From: Harald Hoyer Date: Thu, 19 May 2011 21:20:00 +0000 (+0200) Subject: lsinitrd: handle new output of "file" for XZ compressed images X-Git-Tag: 011~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b938443e2f0cc19e80e8093096907ccdd7ef3bd7;p=thirdparty%2Fdracut.git lsinitrd: handle new output of "file" for XZ compressed images --- diff --git a/lsinitrd b/lsinitrd index de038fade..3b9cc852d 100755 --- a/lsinitrd +++ b/lsinitrd @@ -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