diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-01-04 14:13:06 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-01-04 14:13:06 +0000 |
commit | 0b85e3128b648efbb4d5c50ca45ae9246b4459d7 (patch) | |
tree | 3c7b14a40d54dc700b0b607d714b7ab5fbcdbff4 /usr.sbin/pkg_add | |
parent | f68c04790f9ec8ec03288e970042545a58140c3d (diff) |
oops, it's global to the set, no need to do it several times
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm index 2f4e0e151c7..97e82c43773 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgAdd.pm,v 1.42 2014/01/02 16:05:42 espie Exp $ +# $OpenBSD: PkgAdd.pm,v 1.43 2014/01/04 14:13:05 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org> # @@ -809,9 +809,7 @@ sub really_add $plist->get(DISPLAY)->prepare($state); } } - for my $handle ($set->newer) { - $set->{solver}->register_dependencies($state); - } + $set->{solver}->register_dependencies($state); if ($replacing) { $set->{forward}->adjust($state); } |