svn path=/main/trunk/; revision=2766
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}
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))