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

(-)a/media-libs/fontconfig/fontconfig-2.14.2-r1.ebuild (+11 lines)
Lines 208-213 pkg_postinst() { Link Here
208
208
209
	readme.gentoo_print_elog
209
	readme.gentoo_print_elog
210
210
211
	local ver
212
	for ver in ${REPLACING_VERSIONS} ; do
213
		# 2.14.2 and 2.14.2-r1 included the bad 10-sub-pixel-none.conf
214
		if ver_test ${ver} -lt 2.14.2-r2 && ver_test ${ver} -ge 2.14.2 ; then
215
			if [[ -f "${EROOT}"/etc/fonts/10-sub-pixel-none.conf ]] ; then
216
				einfo "Deleting 10-sub-pixel-none.conf from bad fontconfig-2.14.2 (bug #900681)"
217
				rm "${EROOT}"/etc/fonts/10-sub-pixel-none.conf || die
218
			fi
219
		fi
220
	done
221
211
	if [[ -z ${ROOT} ]] ; then
222
	if [[ -z ${ROOT} ]] ; then
212
		multilib_pkg_postinst() {
223
		multilib_pkg_postinst() {
213
			ebegin "Creating global font cache for ${ABI}"
224
			ebegin "Creating global font cache for ${ABI}"

Return to bug 900681