From a114cd3d79a4e2759823832b41d6d749aadf92fc Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Tue, 17 Nov 2009 10:48:15 +0000 Subject: trim more, we already display a quick message for the missing lib elsewhere. --- usr.sbin/pkg_add/OpenBSD/SharedLibs.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm b/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm index 0731195c10e..548a6d30546 100644 --- a/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm +++ b/usr.sbin/pkg_add/OpenBSD/SharedLibs.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: SharedLibs.pm,v 1.35 2009/11/17 10:38:27 espie Exp $ +# $OpenBSD: SharedLibs.pm,v 1.36 2009/11/17 10:48:14 espie Exp $ # # Copyright (c) 2003-2005 Marc Espie # @@ -209,7 +209,6 @@ sub report_problem return unless defined $stem; return unless defined $registered_libs->{$stem}; - print "library $name not found\n"; my $r = ""; while (my ($d, $v) = each %{$registered_libs->{$stem}}) { my @l = (); @@ -227,6 +226,7 @@ sub report_problem } if (!defined $printed->{$name} || $printed->{$name} ne $r) { $printed->{$name} = $r; + print "library $name not found\n"; print $r; } } -- cgit v1.2.3