X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=update-pciids.sh;h=32633394a28bebdde61aa7338638db6a444b42e9;hb=327b6e8a1660e1c937b7987fa31f972af393521b;hp=929f6af716ec8dbe03870aaa9bb3e285544fd18e;hpb=9d9aa7055bea757fbe88b8667b07ea2102849e82;p=pciutils.git diff --git a/update-pciids.sh b/update-pciids.sh index 929f6af..3263339 100755 --- a/update-pciids.sh +++ b/update-pciids.sh @@ -20,6 +20,9 @@ if [ "$PCI_COMPRESSED_IDS" = 1 ] ; then DECOMP="cat" SRC="$SRC.gz" GREP=zgrep +elif command -v xz >/dev/null 2>&1 ; then + DECOMP="xz -d" + SRC="$SRC.xz" elif command -v bzip2 >/dev/null 2>&1 ; then DECOMP="bzip2 -d" SRC="$SRC.bz2"