4 SRC="http://pciids.sourceforge.net/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 [ -n "$PCI_COMPRESSED_IDS" ] ; then
19 elif which bzip2 >/dev/null 2>&1 ; then
22 @@ -53,7 +51,7 @@ if ! $DECOMP <$DEST.new >$DEST.neww ; th
26 -if ! $GREP >/dev/null "^C " $DEST.neww ; then
27 +if ! zcat $DEST.neww | grep >/dev/null "^C " ; then
28 echo >&2 "update-pciids: missing class info, probably truncated file"