app-text/texlive-core: Force a rebuild of all the formats after an upgrade.
authorAlexis Ballier <aballier@gentoo.org>
Fri, 16 Jun 2017 07:54:35 +0000 (09:54 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 16 Jun 2017 07:54:44 +0000 (09:54 +0200)
Bugs #621312 and #621336 are caused by format mismatches between the ones built and the pdftex & co version installed.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

app-text/texlive-core/texlive-core-2017-r2.ebuild [moved from app-text/texlive-core/texlive-core-2017-r1.ebuild with 99% similarity]

similarity index 99%
rename from app-text/texlive-core/texlive-core-2017-r1.ebuild
rename to app-text/texlive-core/texlive-core-2017-r2.ebuild
index 54a423e792a3f406f970affa2782713ffecdb757..ad27da95fa20c3292a4763334dbf1146076694d8 100644 (file)
@@ -340,6 +340,9 @@ src_install() {
 pkg_postinst() {
        etexmf-update
 
+       einfo "Regenerating TeX formats"
+       fmtutil-sys --all &> /dev/null
+
        elog
        elog "If you have configuration files in ${EPREFIX}/etc/texmf to merge,"
        elog "please update them and run ${EPREFIX}/usr/sbin/texmf-update."