From 00e87aac410a66c5417a6b22785c148f0c3e41d7 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Thu, 12 Nov 2009 14:44:01 +0000 Subject: simpler: the whole set fails --- usr.sbin/pkg_add/pkg_add | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add index bbfb40cc5da..02b40c2f601 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.380 2009/11/11 12:42:17 espie Exp $ +# $OpenBSD: pkg_add,v 1.381 2009/11/12 14:44:00 espie Exp $ # # Copyright (c) 2003-2009 Marc Espie # @@ -513,9 +513,9 @@ sub install_set my @baddeps = $set->{solver}->check_depends; if (@baddeps) { + $state->errsay("Can't install ", $set->short_print, + ": can't resolve ", join(',', @baddeps)); for my $handle ($set->newer) { - $state->say("Can't install ", $handle->pkgname, - ": can't resolve ", join(',', @baddeps)); $handle->location->close_now; } $bad++; -- cgit v1.2.3