diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2018-06-22 13:59:39 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2018-06-22 13:59:39 +0000 |
commit | 49931fdba2fc06dc0145ff6a93957541622605a5 (patch) | |
tree | d7ecf4cf06e78489b4898620b1dd21803c33d520 | |
parent | 12a7e5168c4299f5137c967d20a8b1f4233775f6 (diff) |
special case for a tag in self, which should be run appropriately during
deletion
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Dependencies.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Dependencies.pm b/usr.sbin/pkg_add/OpenBSD/Dependencies.pm index 5083f63f3c8..6b7d5bf8586 100644 --- a/usr.sbin/pkg_add/OpenBSD/Dependencies.pm +++ b/usr.sbin/pkg_add/OpenBSD/Dependencies.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Dependencies.pm,v 1.166 2018/06/21 08:28:21 espie Exp $ +# $OpenBSD: Dependencies.pm,v 1.167 2018/06/22 13:59:38 espie Exp $ # # Copyright (c) 2005-2010 Marc Espie <espie@openbsd.org> # @@ -444,6 +444,7 @@ sub find_in_self while (my ($name, $d) = each %{$plist->{tags_definitions}}) { next unless $tag->name eq $name; $tag->{definition_list} = $d; + $tag->{found_in_self} = 1; $state->say("Found tag #1 in self", $tag->stringize) if $state->verbose >= 3; return 1; |