From 1f8b4927f9e7f7a1918cc8d522ead79ce0aeae99 Mon Sep 17 00:00:00 2001 From: Simon Stelling Date: Mon, 1 May 2006 21:12:04 +0000 Subject: make portage shut up if --quiet is given; bug 62273 svn path=/main/trunk/; revision=3296 --- bin/prepman | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'bin/prepman') diff --git a/bin/prepman b/bin/prepman index f81e200b9..ba70a4b8a 100755 --- a/bin/prepman +++ b/bin/prepman @@ -3,6 +3,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Id: /var/cvsroot/gentoo-src/portage/bin/prepman,v 1.10.2.3 2005/05/29 12:40:08 jstubbs Exp $ +source /usr/lib/portage/bin/isolated-functions.sh + if [[ -z $1 ]] ; then z="${D}usr/share/man" else @@ -10,7 +12,7 @@ else fi if [[ ! -d ${z} ]] ; then - echo "QA Notice: prepman called with non-existent dir '${z#${D}}'" 2>&1 + vecho "QA Notice: prepman called with non-existent dir '${z#${D}}'" 2>&1 exit 0 fi @@ -33,15 +35,15 @@ for x in $(find "${z}"/ -type d 2>/dev/null) ; do mylink="${mylink}.gz" fi - echo "fixing man page symlink: ${mylink##*/}" + vecho "fixing man page symlink: ${mylink##*/}" ln -snf "${linkto}" "${mylink}" if [[ ${y} != "${mylink}" ]] ; then - echo "removing old symlink: ${y##*/}" + vecho "removing old symlink: ${y##*/}" rm -f "${y}" fi else if [[ ${y##*.} != "gz" ]] && [[ ${y##*.} != "bz2" ]] && [[ ! -d ${y} ]] ; then - echo "gzipping man page: ${y##*/}" + vecho "gzipping man page: ${y##*/}" gzip -f -9 "${y}" fi fi -- cgit v1.2.3-1-g7c22