summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-05-01 21:12:04 +0000
committerSimon Stelling <blubb@gentoo.org>2006-05-01 21:12:04 +0000
commit1f8b4927f9e7f7a1918cc8d522ead79ce0aeae99 (patch)
tree4cf7182aa108f06aa07c2b3b53199b7ceca50b52 /bin/prepinfo
parentrevert my last commit except for the parts i really wanted to commit (diff)
downloadportage-multirepo-1f8b4927f9e7f7a1918cc8d522ead79ce0aeae99.tar.gz
portage-multirepo-1f8b4927f9e7f7a1918cc8d522ead79ce0aeae99.tar.bz2
portage-multirepo-1f8b4927f9e7f7a1918cc8d522ead79ce0aeae99.zip
make portage shut up if --quiet is given; bug 62273
svn path=/main/trunk/; revision=3296
Diffstat (limited to 'bin/prepinfo')
-rwxr-xr-xbin/prepinfo8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/prepinfo b/bin/prepinfo
index e2422e76..5863ffd3 100755
--- a/bin/prepinfo
+++ b/bin/prepinfo
@@ -3,6 +3,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Id: /var/cvsroot/gentoo-src/portage/bin/prepinfo,v 1.6.2.1 2005/05/29 12:40:08 jstubbs Exp $
+source /usr/lib/portage/bin/isolated-functions.sh
+
if [ -z "$1" ] ; then
z="${D}usr/share/info"
else
@@ -30,15 +32,15 @@ for x in $(find "${z}"/ -mindepth 1 -maxdepth 1 \( -type f -or -type l \) 2>/dev
mylink="${mylink}.gz"
fi
- echo "fixing GNU info symlink: ${mylink##*/}"
+ vecho "fixing GNU info symlink: ${mylink##*/}"
ln -snf "${linkto}" "${mylink}"
if [ "${x}" != "${mylink}" ] ; then
- echo "removing old symlink: ${x##*/}"
+ vecho "removing old symlink: ${x##*/}"
rm -f "${x}"
fi
else
if [ "${x##*.}" != "gz" ] ; then
- echo "gzipping GNU info page: ${x##*/}"
+ vecho "gzipping GNU info page: ${x##*/}"
gzip -f -9 "${x}"
fi
fi