summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-12-05 10:43:50 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-12-05 10:43:50 +0000
commit69724ca5774ba18ba99247cb17b4c4a503ca1515 (patch)
tree09a6e8f321c10952eeebd5d95e83341371a9d255
parent29b39e2259758fcbb342d47d5f36f22dba732bb9 (diff)
oops
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Update.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Update.pm b/usr.sbin/pkg_add/OpenBSD/Update.pm
index 66221226c69..23f9f36a53b 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.109 2009/12/05 10:08:58 espie Exp $
+# $OpenBSD: Update.pm,v 1.110 2009/12/05 10:43:49 espie Exp $
#
# Copyright (c) 2004-2006 Marc Espie <espie@openbsd.org>
#
@@ -278,7 +278,7 @@ sub process_set
if ($problem) {
$state->tracker->mark_cant_update($set) if !$set->{quirks};
return 0;
- } elsif ($set->{updates} == 0) {
+ } elsif ($set->{updates} == 0 && $set->newer == 0) {
$state->tracker->mark_uptodate($set);
return 0;
}