diff options
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Master/install-tl b/Master/install-tl index 37dc1d896b3..27a0adb63b9 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -804,18 +804,23 @@ operations might be disturbed.\n\n"; # system('updmap-sys', '--nohash'); log(`updmap-sys --nohash 2>&1`); info("done\n"); - info("re-running mktexlsr $TEXMFSYSVAR\n"); - system('mktexlsr', "$TEXMFSYSVAR"); # now work through the options if specified at all # letter instead of a4 if ($vars{'option_letter'}) { + # set paper size, but do not execute any post actions, in this case + # it would be: + # - mktexlsr + # - fmtutil-sys -all info("setting default paper size to letter\n"); - system("tlmgr", "paper", "letter"); - # mind that this calls fmtutil-sys --all in tlmgr!!! + log(`tlmgr --no-execute-actions paper letter 2>&1`); } + # now rerun mktexlsr for updmap-sy and tlmgr paper letter updates + info("re-running mktexlsr $TEXMFSYSVAR\n"); + system('mktexlsr', "$TEXMFSYSVAR"); + # luatex/context # we only call luatools --generate once at installation time, the # rest must be managed by the user, Taco email 2010-05-26 @@ -830,9 +835,8 @@ operations might be disturbed.\n\n"; # info("done\n"); #} - # all formats option, if we have called tlmgr paper letter above, we - # do not call fmtutil-sys again, it would be a waste of time - if ($vars{'option_fmt'} && !$vars{'option_letter'}) { + # all formats option + if ($vars{'option_fmt'}) { info("pre-generating all format files (fmtutil-sys --all), be patient..."); log(`fmtutil-sys --all 2>&1`); info("done\n"); |