summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-11-24 10:50:19 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-11-24 10:50:19 +0000
commit158a9bcad12bf24756018a25d42160dd829d1d57 (patch)
tree3ff3f934fcac91d6fa5dea38c85337743092fa9c /usr.sbin/pkg_add/OpenBSD
parent83ffd7673fc40a4f0d71c78f78db46002d861ee4 (diff)
sets that were not solved should still display something...
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/UpdateSet.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm b/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm
index c4928588c23..5b215fa729f 100644
--- a/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm
+++ b/usr.sbin/pkg_add/OpenBSD/UpdateSet.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: UpdateSet.pm,v 1.27 2009/11/24 10:28:31 espie Exp $
+# $OpenBSD: UpdateSet.pm,v 1.28 2009/11/24 10:50:18 espie Exp $
#
# Copyright (c) 2007 Marc Espie <espie@openbsd.org>
#
@@ -168,6 +168,8 @@ sub short_print
}
if ($self->newer > 0) {
push(@l, join('+', $self->newer_names));
+ } elsif ($self->hints > 0) {
+ push(@l, join('+', $self->hint_names));
}
return join('->', @l);
}