X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=update-pciids.sh;h=ab68d1226c9f0b468c058b31de456a6ed502fb57;hb=0089d489b469e19e615f33cc8485c48e7f7cfebb;hp=5e771090ac001fb92b816d5d00eacdab6b83d524;hpb=50a39c081be7418884776401a43ad7ce49a9ac3f;p=pciutils.git diff --git a/update-pciids.sh b/update-pciids.sh index 5e77109..ab68d12 100755 --- a/update-pciids.sh +++ b/update-pciids.sh @@ -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