diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-12-15 01:07:11 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-12-15 01:07:11 +0000 |
commit | f3f52f34475ca68bce3bf9aad3faad77e24288fd (patch) | |
tree | 540cdc7e81d84736ac82648831a8ba98f712e7d3 /usr.sbin/pkg_add/OpenBSD/Update.pm | |
parent | 9ea4df7bae6083bb81d9ca10483553659eee4a6b (diff) |
move -n down into RequiredBy and PackingList (as $main::not, since we
don't want to load RequiredBy all the time).
Remove a few $state->{not} tests that are no longer needed.
pkg_add -n / pkg_delete -n should work much better when they need to
handle multiple dependencies.
(todo: kill plist caches, finish replacing with specialized caches like
libraries).
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Update.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Update.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Update.pm b/usr.sbin/pkg_add/OpenBSD/Update.pm index 802956e522f..9da4bba7e38 100644 --- a/usr.sbin/pkg_add/OpenBSD/Update.pm +++ b/usr.sbin/pkg_add/OpenBSD/Update.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Update.pm,v 1.39 2004/12/12 11:26:16 espie Exp $ +# $OpenBSD: Update.pm,v 1.40 2004/12/15 01:07:10 espie Exp $ # # Copyright (c) 2004 Marc Espie <espie@openbsd.org> # @@ -361,7 +361,6 @@ sub walk_depends_closure push(@todo, $pkg2); print "\t$pkg2\n" if $state->{beverbose}; $done->{$pkg2} = 1; - next if $state->{not}; $write->add($pkg2); my $l = OpenBSD::Requiring->new($pkg2); if (!$l->list()) { |