From 576a378dbe8a5da3159facd2059f9e848a48da68 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 9 Jul 2008 16:17:24 +0000 Subject: activate context initialization stuff git-svn-id: svn://tug.org/texlive/trunk@9402 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLPostActions.pm | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'Master') diff --git a/Master/tlpkg/TeXLive/TLPostActions.pm b/Master/tlpkg/TeXLive/TLPostActions.pm index 4314f5cf666..4b24b22f07e 100644 --- a/Master/tlpkg/TeXLive/TLPostActions.pm +++ b/Master/tlpkg/TeXLive/TLPostActions.pm @@ -34,7 +34,8 @@ sub do_install_bin_context { if (! -r $TMF) { open(TMF, ">$TMF") || die "open($TMF) failed: $!\n"; print TMF 'local conf = {}', "\n"; - print TMF "conf.TEXMFCACHE = \"$texmfsysvar/luatex-cache/context\"\n"; + print TMF "conf.TEXMFCACHE = \"$texmfsysvar\"\n"; + #print TMP "conf.CACHEINTDS = 't'\n"; print TMF "return conf\n"; close(TMF) || warn "close($TMF) failed: $!"; } @@ -42,13 +43,21 @@ sub do_install_bin_context { system("luatools", "--generate"); # build the context formats based on luatex system("context", "--make", "--compile", "cont-en"); + # update the font cache + system("mtxrun", "--script", "fonts", "--reload"); } # -# disabled by now # what to do with permissions, multi-user, etc etc etc -#$PostInstall{"bin-context"} = \&do_install_bin_context; +$PostInstall{"bin-context"} = \&do_install_bin_context; +# ATM do the same for luatex as for context +sub do_install_luatex { + do_install_bin_context(@_); +} +$PostInstall{"luatex"} = \&do_install_luatex; + + # xetex # sub do_install_xetex { -- cgit v1.2.3