diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-02-02 09:11:28 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-02-02 09:11:28 +0000 |
commit | 68541a120449cb9a96cb796d618399a6ece52e8b (patch) | |
tree | db64a47c21d4b0b1aaf128cc289ef0a98274cfdf /usr.sbin/pkg_add/OpenBSD | |
parent | d21c8f595dabb934cb30a63df1281758018a06f2 (diff) |
make sure kept handles are complete... not really optimized so far, but will
fix issues seen by nigel@
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm index f69dc358f9c..f6da3f94173 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.52 2014/02/01 18:50:58 espie Exp $ +# $OpenBSD: PkgAdd.pm,v 1.53 2014/02/02 09:11:27 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org> # @@ -323,6 +323,9 @@ sub figure_out_kept for my $n ($set->newer) { $set->find_kept_handle($n, $state); } + for my $n ($set->kept) { + $n->complete_old; + } } sub complete |