summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhalex <halex@openbsd.org>2011-07-09 04:49:29 +0000
committerhalex <halex@openbsd.org>2011-07-09 04:49:29 +0000
commit30e52e743e06866f374bf06b6f5e800795fa7a3c (patch)
tree290824ee221c02c3e316d74e91c9521319a8358f
parentSwitch to new write function that does range/chunk compression using zlib (diff)
downloadwireguard-openbsd-30e52e743e06866f374bf06b6f5e800795fa7a3c.tar.xz
wireguard-openbsd-30e52e743e06866f374bf06b6f5e800795fa7a3c.zip
when checking for installed packages we should indeed be as precise
as possible pointed out by sthen@
-rw-r--r--usr.sbin/fw_update/fw_update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/fw_update/fw_update.sh b/usr.sbin/fw_update/fw_update.sh
index 97b9f82dc0c..3f0195e3794 100644
--- a/usr.sbin/fw_update/fw_update.sh
+++ b/usr.sbin/fw_update/fw_update.sh
@@ -47,7 +47,7 @@ install=
update=
for driver in $DRIVERS; do
- if test -d /var/db/pkg/${driver}-*; then
+ if test -d /var/db/pkg/${driver}-firmware-*; then
update="$update ${driver}-firmware"
elif grep -q "^${driver}[0-9][0-9]* at " /var/run/dmesg.boot; then
install="$install ${driver}-firmware"