disable compression in doman, just let `prepman` handle it
authorMike Frysinger <vapier@gentoo.org>
Thu, 23 Feb 2006 05:24:30 +0000 (05:24 -0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 23 Feb 2006 05:24:30 +0000 (05:24 -0000)
svn path=/main/trunk/; revision=2766

bin/doman

index 4bc3c111c54a978ca392649df86315565948b489..9bb789091dd7a0d872bfd86fe5dd32adf9d18de0 100755 (executable)
--- 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))