commit:     fbe04e6ff395a97c3f8aeb1728810e1166bb2092
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 16 07:54:35 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Jun 16 07:54:44 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbe04e6f

app-text/texlive-core: Force a rebuild of all the formats after an upgrade.

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

 .../{texlive-core-2017-r1.ebuild => texlive-core-2017-r2.ebuild}       | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-text/texlive-core/texlive-core-2017-r1.ebuild 
b/app-text/texlive-core/texlive-core-2017-r2.ebuild
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 54a423e792a..ad27da95fa2 100644
--- a/app-text/texlive-core/texlive-core-2017-r1.ebuild
+++ b/app-text/texlive-core/texlive-core-2017-r2.ebuild
@@ -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."

Reply via email to