From e18e832de980b43a303dcd107740640e2d007506 Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 27 Jul 2016 13:02:03 +0000 Subject: [PATCH] checking for firmware works better if I pass thru all options --- usr.sbin/pkg_add/OpenBSD/PackingList.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/PackingList.pm b/usr.sbin/pkg_add/OpenBSD/PackingList.pm index c0100f680c8..ee73a21b5de 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackingList.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackingList.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackingList.pm,v 1.137 2016/06/25 18:02:59 espie Exp $ +# $OpenBSD: PackingList.pm,v 1.138 2016/07/27 13:02:03 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie # @@ -257,7 +257,7 @@ sub ExtraInfoOnly { my ($fh, $cont) = @_; while (<$fh>) { - if (m/^\@(?:name|pkgpath|comment\s+(?:subdir|pkgpath)\=|option\s+is-branch)\b/o) { + if (m/^\@(?:name|pkgpath|comment\s+(?:subdir|pkgpath)\=|option)\b/o) { &$cont($_); # XXX optimization } elsif (m/^\@(?:depend|wantlib|newgroup|newuser|cwd)\b/o) { -- 2.20.1