4 SRC="http://pci-ids.ucw.cz/v2.2/pci.ids"
9 -# if pci.ids is read-only (because the filesystem is read-only),
10 +# if pci.ids.gz is read-only (because the filesystem is read-only),
11 # then just skip this whole process.
12 if ! touch ${DEST} >/dev/null 2>&1 ; then
13 ${quiet} || echo "${DEST} is read-only, exiting." 1>&2
15 if [ "$PCI_COMPRESSED_IDS" = 1 ] ; then
20 elif which bzip2 >/dev/null 2>&1 ; then
23 @@ -53,7 +52,7 @@ if ! $DECOMP <$DEST.new >$DEST.neww ; th
27 -if ! $GREP >/dev/null "^C " $DEST.neww ; then
28 +if ! zcat $DEST.neww | grep >/dev/null "^C " ; then
29 echo >&2 "update-pciids: missing class info, probably truncated file"