summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/pkg_add/pkg_add4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add
index bec8d4d631f..bffe7f01208 100644
--- a/usr.sbin/pkg_add/pkg_add
+++ b/usr.sbin/pkg_add/pkg_add
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_add,v 1.475 2010/04/05 13:46:24 espie Exp $
+# $OpenBSD: pkg_add,v 1.476 2010/04/10 10:18:12 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -357,7 +357,7 @@ sub install_issues
$later = 1;
my $s = $state->tracker->is_to_update($toreplace);
- if (defined $s) {
+ if (defined $s && $s ne $set) {
$set->merge($state->tracker, $s);
} else {
$set->add_older(OpenBSD::Handle->create_old($toreplace,