From fc53a8b28ac25bacb30b18fa5781efeab1f5c30f Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Wed, 9 Mar 2005 11:53:58 +0000 Subject: just clue() the first time a library is not found. More clues are generally useless... --- 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 b9b34d3793e..3766fa97296 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.172 2005/03/09 11:46:07 espie Exp $ +# $OpenBSD: pkg_add,v 1.173 2005/03/09 11:53:57 espie Exp $ # # Copyright (c) 2003-2004 Marc Espie # @@ -663,7 +663,7 @@ sub install_package if (!lookup_library($state, $spec, $plist, $handle->{solved_dependencies}, 0)) { Warn "Can't install $pkg: lib not found $spec\n"; - clue($handle->{solved_dependencies}); + clue($handle->{solved_dependencies}) if $okay; $okay = 0; } } @@ -673,7 +673,7 @@ sub install_package if (!lookup_library($state, $lib->{name}, $plist, $handle->{solved_dependencies}, 1, $extra)) { Warn "Can't install $pkg: lib not found ", $lib->{name}, "\n"; - clue($extra); + clue($extra) if $okay; $okay = 0; } } -- cgit v1.2.3