diff options
author | Norbert Preining <preining@logic.at> | 2011-06-05 12:12:48 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2011-06-05 12:12:48 +0000 |
commit | d71f55169a502090c81aa874fe65bd2b64ff0b48 (patch) | |
tree | c3fae57194902e9889a252be11951d93bfb0dbed /Master/install-tl | |
parent | c158d484446756e03e30fc805039f7d25119a039 (diff) |
run mtxrun --generate when mktexlsr is run and context is installed
git-svn-id: svn://tug.org/texlive/trunk@22789 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/Master/install-tl b/Master/install-tl index 0155b8c3108..1e412518a42 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -856,18 +856,11 @@ operations might be disturbed.\n\n"; system("mktexlsr", $TEXMFSYSVAR, $TEXMFSYSCONFIG); # luatex/context - # we only call luatools --generate once at installation time, the - # rest must be managed by the user, Taco email 2010-05-26 - # - # disabled since we are not multi user capable, email taco 2010-06-08 - #if (exists($install{"context"}) && $install{"context"} == 1) { - # info("making ConTeXt MkIV cache with luatools --generate, be patient..."); - # chomp (my $tmv = `kpsewhich -expand-braces="$vars{TEXMFVAR}"`); - # log("\n TEXMFVAR=$vars{TEXMFVAR}, expanded to $tmv for mkdirhier\n"); - # mkdirhier ($tmv); # don't be asked about making the dir - # log(`luatools --generate 2>&1`); - # info("done\n"); - #} + if (exists($install{"context"}) && $install{"context"} == 1) { + info("setting up ConTeXt MkIV cache with mtxrun --generate ..."); + system('mtxrun', '--generate'); + info("done\n"); + } # all formats option if ($vars{'option_fmt'}) { |