summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-06-11 17:00:00 +0000
committerNorbert Preining <preining@logic.at>2010-06-11 17:00:00 +0000
commitbdf353f3dd54fc55a1f36c89d04397534ecdebb6 (patch)
treeee14cfdc44eafd400e332c4b16f5695520ba3caf /Master/install-tl
parent789dcb3c382a6a5d267ac8b0cd363aa33d5a70cd (diff)
do not call fmtutil-sys --all two times at install time if
paper letter is seleced, once by tlmgr paper letter, once by install it self git-svn-id: svn://tug.org/texlive/trunk@18897 c570f23f-e606-0410-a88d-b1316a301751
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");