]> mj.ucw.cz Git - pciutils.git/blobdiff - update-pciids.sh
lspci: Decode the (virtual) resizeble BAR capability
[pciutils.git] / update-pciids.sh
index b89aaea26e6f20db70a7236e89570f0401b28a28..2e241208d342aa02c2cd59e7c457577747d3c790 100755 (executable)
@@ -3,7 +3,7 @@
 [ "$1" = "-q" ] && quiet=true || quiet=false
 
 set -e
-SRC="http://pci-ids.ucw.cz/v2.2/pci.ids"
+SRC="https://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