diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-12-26 14:57:20 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-12-26 14:57:20 +0000 |
commit | 688ee1e977cdfe94ef7eeae0e8bf1094efd39318 (patch) | |
tree | b455c43e70d6eff0221b5589983b757617afbe1d /usr.sbin | |
parent | aeee8ecd0a6066313f384907f77e2393ac956ec6 (diff) |
be less verbose by default: no need to show the look-ups in dependent
and libs packages, since we do that all the time now and it works,
and since we have a good error message when it fails.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/pkg_add | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add index 85c1598e973..81b7288be37 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.160 2004/12/21 01:43:58 espie Exp $ +# $OpenBSD: pkg_add,v 1.161 2004/12/26 14:57:19 espie Exp $ # # Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org> # @@ -485,7 +485,8 @@ sub find_old_lib OpenBSD::SharedLibs::add_package_libs($try); if (check_lib_spec($state->{very_verbose}, $state->{destdir}.$base, $lib, {$try => 1})) { - Warn "Found library ", $lib, " in old package $try\n"; + Warn "Found library ", $lib, " in old package $try\n" + if $state->{verbose}; $dependencies->{$try} = 1; return 1; } @@ -534,7 +535,7 @@ sub lookup_library OpenBSD::SharedLibs::add_package_libs($dep); if (check_lib_spec($state->{very_verbose}, $state->{destdir}.$plist->pkgbase(), $lib, {$dep => 1})) { - Warn "Found library ", $lib, " in dependent package $dep\n"; + Warn "Found library ", $lib, " in dependent package $dep\n" if $state->{verbose}; $dependencies->{$dep} = 1; return 1; } |