diff options
Diffstat (limited to 'update-pciids.sh')
-rwxr-xr-x | update-pciids.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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" |