summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
66b3d05)
Since pciutils v1:3.2.0-1 the update-pciids binary lives in
/usr/sbin and no longer in /usr/bin.
[ -x $target/usr/bin/timeout ] && TIMEOUT="10" || TIMEOUT=""
[ -x $target/usr/bin/timeout ] && TIMEOUT="10" || TIMEOUT=""
-if ! [ -x $target/usr/bin/update-pciids ] ; then
- echo "Warning: update-pciids not installed"
+if ! [ -x "${target}/usr/sbin/update-pciids" ] && ! [ -x "${target}/usr/bin/update-pciids" ] ; then
+ echo "Warning: update-pciids not installed (neither /usr/sbin/update-pciids nor /usr/bin/update-pciids exists"