diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2009-12-30 09:56:27 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2009-12-30 09:56:27 +0000 |
commit | 2e12b4aa06ff10749a35dfb8d2f38a578b67bf0e (patch) | |
tree | ba8cb7bd843900b392522dd58c1c5a06c74357ef /usr.sbin/pkg_add/OpenBSD/Tracker.pm | |
parent | 1bb735affa60add8b6cfffbf555c05714d99fa09 (diff) |
ouch, now that we keep packages, take them into account on done.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Tracker.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Tracker.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Tracker.pm b/usr.sbin/pkg_add/OpenBSD/Tracker.pm index 97c111e565d..c8692924654 100644 --- a/usr.sbin/pkg_add/OpenBSD/Tracker.pm +++ b/usr.sbin/pkg_add/OpenBSD/Tracker.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Tracker.pm,v 1.17 2009/12/19 14:21:14 espie Exp $ +# $OpenBSD: Tracker.pm,v 1.18 2009/12/30 09:56:26 espie Exp $ # # Copyright (c) 2009 Marc Espie <espie@openbsd.org> # @@ -134,6 +134,9 @@ sub done $self->{uptodate}->{$n->pkgname} = 1; $self->{installed}->{$n->pkgname} = 1; } + for my $n ($set->kept) { + $self->{uptodate}->{$n->pkgname} = 1; + } } sub is |