summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-06-06 15:36:33 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-06-06 15:36:33 +0000
commit8200fcf12bfbd81bae3c2def060b450bde02379f (patch)
tree338127600016e20e6dc6647f4379a9498908e9e4 /usr.sbin/pkg_add
parentea9a8816b779692801a49aeccf42395dc82dd521 (diff)
do it only for older sets.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Vstat.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Vstat.pm b/usr.sbin/pkg_add/OpenBSD/Vstat.pm
index 3892f9317cc..0ec95fa5cde 100644
--- a/usr.sbin/pkg_add/OpenBSD/Vstat.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Vstat.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Vstat.pm,v 1.36 2007/06/06 15:35:20 espie Exp $
+# $OpenBSD: Vstat.pm,v 1.37 2007/06/06 15:36:32 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -433,7 +433,7 @@ sub validate_plists
OpenBSD::Error::Fatal "fatal issues in ", $self->print;
}
OpenBSD::Vstat::synchronize();
- for my $h ($self->older, $self->newer) {
+ for my $h ($self->older_to_do, $self->newer) {
$h->{totsize} = $h->{plist}->compute_size;
}
}