aboutsummaryrefslogtreecommitdiff
blob: 0506bf8cd473d4f38b60077fb72f6dd8cbe2abf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# This small hack is needed in order to have a sane upgrade path:
# the new TeX Live 2009 metapost produces this file but it is not recorded in
# any package; when running fmtutil (like texmf-update does) this file will be
# created and cause collisions.

pkg_setup() {
	if [ -f "${ROOT}/${EPREFIX}/var/lib/texmf/web2c/metapost/mplib-luatex.mem" ]; then
		einfo "Removing ${ROOT}/${EPREFIX}/var/lib/texmf/web2c/metapost/mplib-luatex.mem"
		rm -f "${ROOT}/${EPREFIX}/var/lib/texmf/web2c/metapost/mplib-luatex.mem"
	fi
}