Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 45232
Collapse All | Expand All

(-)portage-2.0.49-r21~/bin/dodoc (-2 / +4 lines)
Lines 10-19 Link Here
10
		fi
10
		fi
11
		if [ -z "${DOCDESTTREE}" ] ; then
11
		if [ -z "${DOCDESTTREE}" ] ; then
12
			install -m0644 "${x}" "${D}usr/share/doc/${PF}"
12
			install -m0644 "${x}" "${D}usr/share/doc/${PF}"
13
			gzip -f -9 "${D}usr/share/doc/${PF}/${x##*/}"
13
			#gzip -f -9 "${D}usr/share/doc/${PF}/${x##*/}"
14
			bzip2 -f -z -9 "${D}usr/share/doc/${PF}/${x##*/}"
14
		else
15
		else
15
			install -m0644 "${x}" "${D}usr/share/doc/${PF}/${DOCDESTTREE}"
16
			install -m0644 "${x}" "${D}usr/share/doc/${PF}/${DOCDESTTREE}"
16
			gzip -f -9 "${D}usr/share/doc/${PF}/${DOCDESTTREE}/${x##*/}"
17
			#gzip -f -9 "${D}usr/share/doc/${PF}/${DOCDESTTREE}/${x##*/}"
18
			bzip2 -f -z -9 "${D}usr/share/doc/${PF}/${DOCDESTTREE}/${x##*/}"
17
		fi
19
		fi
18
	else
20
	else
19
		echo "${0}: ${x} does not exist."
21
		echo "${0}: ${x} does not exist."
(-)portage-2.0.49-r21~/bin/doman (-1 / +6 lines)
Lines 37-42 Link Here
37
		compressed="gz"
37
		compressed="gz"
38
		realname="${x%.*}"
38
		realname="${x%.*}"
39
		suffix="${realname##*.}"
39
		suffix="${realname##*.}"
40
	elif [ "$suffix" == "bz2" ] ; then
41
		compressed="bz2"
42
		realname="${x%.*}"
43
		suffix="${realname##*.}"
40
	else
44
	else
41
		realname="$x"
45
		realname="$x"
42
		compressed=""
46
		compressed=""
Lines 58-64 Link Here
58
			install -m0644 "${x}" "${D}${BASE}/man/${mandir}"
62
			install -m0644 "${x}" "${D}${BASE}/man/${mandir}"
59
63
60
			if [ -z "${compressed}" ] ; then
64
			if [ -z "${compressed}" ] ; then
61
				gzip -f -9 "${D}${BASE}/man/${mandir}/${x##*/}"
65
				#gzip -f -9 "${D}${BASE}/man/${mandir}/${x##*/}"
66
				bzip2 -f -z -9 "${D}${BASE}/man/${mandir}/${x##*/}"
62
			fi
67
			fi
63
		else
68
		else
64
			echo "doman: ${x} does not exist." 1>&2
69
			echo "doman: ${x} does not exist." 1>&2
(-)portage-2.0.49-r21~/bin/prepman (-3 / +12 lines)
Lines 25-30 Link Here
25
				mylink="${mylink}.gz"
25
				mylink="${mylink}.gz"
26
			fi
26
			fi
27
27
28
			if [ "${linkto##*.}" != "bz2" ] ; then
29
				linkto="${linkto}.bz2"
30
			fi
31
			if [ "${mylink##*.}" != "bz2" ] ; then
32
				mylink="${mylink}.bz2"
33
			fi
34
28
			echo "fixing man page symlink: ${mylink##*/}"
35
			echo "fixing man page symlink: ${mylink##*/}"
29
			ln -snf "${linkto}" "${mylink}"
36
			ln -snf "${linkto}" "${mylink}"
30
			if [ "${y}" != "${mylink}" ] ; then
37
			if [ "${y}" != "${mylink}" ] ; then
Lines 32-40 Link Here
32
				rm -f "${y}"
39
				rm -f "${y}"
33
			fi
40
			fi
34
		else
41
		else
35
			if [ "${y##*.}" != "gz" ] ; then
42
			if [ "${y##*.}" != "gz" -a "${y##*.}" != "bz2" ] ; then
36
				echo "gzipping man page: ${y##*/}"
43
				#echo "gzipping man page: ${y##*/}"
37
				gzip -f -9 "${y}"
44
				echo "compressing man page: ${y##*/}"
45
				#gzip -f -9 "${y}"
46
				bzip2 -f -z -9 "${y}"
38
			fi
47
			fi
39
		fi	
48
		fi	
40
	done
49
	done

Return to bug 45232