From 368a866d7e5cc70b23fe9b3107ccbd82a663d8cb Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 31 Jul 2010 11:30:50 +0000 Subject: [PATCH] very old thinko, not really a problem, obviously, but groups and users are categories, the corresponding keywords are newgroup and newuser. --- usr.sbin/pkg_add/OpenBSD/PackingList.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/PackingList.pm b/usr.sbin/pkg_add/OpenBSD/PackingList.pm index eec7c994dac..7ac5a5db2c4 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.108 2010/06/30 10:51:04 espie Exp $ +# $OpenBSD: PackingList.pm,v 1.109 2010/07/31 11:30:50 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie # @@ -223,7 +223,7 @@ sub DependOnly while (<$fh>) { if (m/^\@(?:depend|wantlib|define-tag)\b/o) { &$cont($_); - } elsif (m/^\@(?:groups|users|cwd)\b/o) { + } elsif (m/^\@(?:newgroup|newuser|cwd)\b/o) { last; } } @@ -244,7 +244,7 @@ sub ExtraInfoOnly while (<$fh>) { if (m/^\@(?:pkgpath)\b/o) { &$cont($_); - } elsif (m/^\@(?:groups|users|cwd)\b/o) { + } elsif (m/^\@(?:newgroup|newuser|cwd)\b/o) { last; } } @@ -265,7 +265,7 @@ sub UpdateInfoOnly while (<$fh>) { if (m/^\@(?:depend|wantlib|conflict|option|pkgpath|url)\b/o) { &$cont($_); - } elsif (m/^\@(?:groups|users|cwd)\b/o) { + } elsif (m/^\@(?:newgroup|newuser|cwd)\b/o) { last; } } @@ -309,7 +309,7 @@ sub ConflictOnly while (<$fh>) { if (m/^\@(?:conflict|option|name)\b/o) { &$cont($_); - } elsif (m/^\@(?:depend|wantlib|groups|users|cwd)\b/o) { + } elsif (m/^\@(?:depend|wantlib|newgroup|newuser|cwd)\b/o) { last; } } -- 2.20.1