summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-23 05:24:30 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-23 05:24:30 +0000
commitf3974e11c394aa5eda1d1514e0ffaa4e17e7855c (patch)
tree00b8f0785b82ea201f72fb1490e50244ef19d90f
parentf187cf1df8af7436a5940c99eb6fcc8372517ab8 (diff)
downloadportage-f3974e11c394aa5eda1d1514e0ffaa4e17e7855c.tar.gz
portage-f3974e11c394aa5eda1d1514e0ffaa4e17e7855c.tar.bz2
portage-f3974e11c394aa5eda1d1514e0ffaa4e17e7855c.zip
disable compression in doman, just let `prepman` handle it
svn path=/main/trunk/; revision=2766
-rwxr-xr-xbin/doman9
1 files changed, 1 insertions, 8 deletions
diff --git a/bin/doman b/bin/doman
index 4bc3c111c..9bb789091 100755
--- a/bin/doman
+++ b/bin/doman
@@ -24,12 +24,9 @@ for x in "$@" ; do
suffix=${x##*.}
if [[ ${suffix} == "gz" ]] ; then
- compressed="gz"
realname=${x%.*}
suffix=${realname##*.}
- else
- realname=${x}
- compressed=""
+ echo "QA Notice: you should let portage compress '${realname}' for you" 2>&1
fi
mandir=${i18n}man${suffix:0:1}
@@ -42,10 +39,6 @@ for x in "$@" ; do
install -m0644 "${x}" "${D}/usr/share/man/${mandir}"
((ret+=$?))
-
- if [[ -z ${compressed} ]] ; then
- gzip -f -9 "${D}/usr/share/man/${mandir}/${x##*/}"
- fi
else
echo "doman: ${x} does not exist" 1>&2
((++ret))