summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 81f4c3c423e..37dc1d896b3 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -813,6 +813,7 @@ operations might be disturbed.\n\n";
if ($vars{'option_letter'}) {
info("setting default paper size to letter\n");
system("tlmgr", "paper", "letter");
+ # mind that this calls fmtutil-sys --all in tlmgr!!!
}
# luatex/context
@@ -829,8 +830,9 @@ operations might be disturbed.\n\n";
# info("done\n");
#}
- # all formats option
- if ($vars{'option_fmt'}) {
+ # 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'}) {
info("pre-generating all format files (fmtutil-sys --all), be patient...");
log(`fmtutil-sys --all 2>&1`);
info("done\n");