From: Mike Frysinger Date: Thu, 23 Feb 2006 05:24:30 +0000 (-0000) Subject: disable compression in doman, just let `prepman` handle it X-Git-Tag: v2.1_pre6~71 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f3974e11c394aa5eda1d1514e0ffaa4e17e7855c;p=portage.git disable compression in doman, just let `prepman` handle it svn path=/main/trunk/; revision=2766 --- 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))