aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Stephen P. Bennett <spb@exherbo.org> 2007-03-15 15:42:26 +0000
committerAvatar Stephen P. Bennett <spb@exherbo.org> 2007-03-15 15:42:26 +0000
commit490c7cc94b32adbb610416379c3ca9819a6ba3b3 (patch)
tree3226b532e16f6de7d959dbf74187b19f2ad5de04
parentf3be68223363c127d70ba79771b49b6a6efc4d51 (diff)
downloadpaludis-490c7cc94b32adbb610416379c3ca9819a6ba3b3.tar.gz
paludis-490c7cc94b32adbb610416379c3ca9819a6ba3b3.tar.xz
Don't compress files in doman, doinfo, dodoc.
-rw-r--r--paludis/repositories/gentoo/ebuild/utils/dodoc5
-rw-r--r--paludis/repositories/gentoo/ebuild/utils/doinfo5
-rw-r--r--paludis/repositories/gentoo/ebuild/utils/doman10
3 files changed, 0 insertions, 20 deletions
diff --git a/paludis/repositories/gentoo/ebuild/utils/dodoc b/paludis/repositories/gentoo/ebuild/utils/dodoc
index bfff299..edd6b65 100644
--- a/paludis/repositories/gentoo/ebuild/utils/dodoc
+++ b/paludis/repositories/gentoo/ebuild/utils/dodoc
@@ -31,10 +31,6 @@ if [[ $# -lt 1 ]]; then
exit 1
fi
-if [[ -z ${PALUDIS_COMPRESS} ]]; then
- PALUDIS_COMPRESS="gzip -f -9"
-fi
-
dir="${D}usr/share/doc/${PF}/${DOCDESTTREE}"
if [[ ! -d "${dir}" ]]; then
install -d "${dir}" || exit 3
@@ -45,7 +41,6 @@ ret=0
for x in "$@"; do
if [[ -s "${x}" ]]; then
install -m0644 "${x}" "${dir}"
- ${PALUDIS_COMPRESS} "${dir}/${x##*/}"
elif [[ ! -e "${x}" ]]; then
echo "${0}: ${x} does not exist" >&2
ret=2
diff --git a/paludis/repositories/gentoo/ebuild/utils/doinfo b/paludis/repositories/gentoo/ebuild/utils/doinfo
index 746812c..df3040e 100644
--- a/paludis/repositories/gentoo/ebuild/utils/doinfo
+++ b/paludis/repositories/gentoo/ebuild/utils/doinfo
@@ -35,16 +35,11 @@ if [[ ! -d "${D}usr/share/info" ]]; then
install -d "${D}usr/share/info" || exit 3
fi
-if [[ -z ${PALUDIS_COMPRESS} ]]; then
- PALUDIS_COMPRESS="gzip -f -9"
-fi
-
ret=0
for x in "$@"; do
if [[ -e "${x}" ]]; then
install -m0644 "${x}" "${D}usr/share/info"
- ${PALUDIS_COMPRESS} "${D}usr/share/info/$(basename "${x}")"
else
echo "${0}: ${x} does not exist"
ret=2
diff --git a/paludis/repositories/gentoo/ebuild/utils/doman b/paludis/repositories/gentoo/ebuild/utils/doman
index 3a24689..ff54356 100644
--- a/paludis/repositories/gentoo/ebuild/utils/doman
+++ b/paludis/repositories/gentoo/ebuild/utils/doman
@@ -31,10 +31,6 @@ if [[ ${#} -lt 1 ]]; then
exit 1
fi
-if [[ -z ${PALUDIS_COMPRESS} ]]; then
- PALUDIS_COMPRESS="gzip -f -9"
-fi
-
BASE="/usr/share"
i18n=""
@@ -50,12 +46,10 @@ for x in "$@"; do
suffix=${x##*.}
if [[ ${suffix} == "gz" ]]; then
- compressed="gz"
realname=${x%.*}
suffix=${realname##*.}
else
realname=${x}
- compressed=""
fi
mandir="${i18n}man${suffix:0:1}"
@@ -68,10 +62,6 @@ for x in "$@"; do
fi
install -m0644 "${x}" "${D}${BASE}/man/${mandir}" || ret=2
-
- if [[ -z ${compressed} ]]; then
- ${PALUDIS_COMPRESS} "${D}${BASE}/man/${mandir}/$(basename "${x}")"
- fi
else
echo "${0}: ${x} does not exist" >&2
ret=2