]> mj.ucw.cz Git - pciutils.git/blobdiff - update-pciids.sh
lspci: Avoid "%1$c" style format strings in HT capability
[pciutils.git] / update-pciids.sh
index 5e771090ac001fb92b816d5d00eacdab6b83d524..ab68d1226c9f0b468c058b31de456a6ed502fb57 100755 (executable)
@@ -3,7 +3,7 @@
 [ "$1" = "-q" ] && quiet=true || quiet=false
 
 set -e
-SRC="http://pciids.sourceforge.net/v2.2/pci.ids"
+SRC="http://pci-ids.ucw.cz/v2.2/pci.ids"
 DEST=pci.ids
 PCI_COMPRESSED_IDS=
 GREP=grep
@@ -15,7 +15,7 @@ if ! touch ${DEST} >/dev/null 2>&1 ; then
        exit 1
 fi
 
-if [ "$PCI_COMPRESSED_IDS" -eq 1 ] ; then
+if [ "$PCI_COMPRESSED_IDS" = 1 ] ; then
        DECOMP="cat"
        SRC="$SRC.gz"
        GREP=zgrep