summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-03-29 19:07:59 +0000
committerNorbert Preining <preining@logic.at>2008-03-29 19:07:59 +0000
commit4d66e5d1bdfb3882f09301e84da4fd2be9600ec9 (patch)
tree2562b372c39d4e7c40a616697af32ea3bbb594e4 /Master
parent224513b76056dd4fa4c6467d211cf03d601a0858 (diff)
build formats in tl-package-manager only if the options for building
formats was selected at installation time. git-svn-id: svn://tug.org/texlive/trunk@7230 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/texmf/scripts/texlive/tl-package-manager.pl8
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf/scripts/texlive/tl-package-manager.pl b/Master/texmf/scripts/texlive/tl-package-manager.pl
index ced4b7af94b..49b119aa348 100755
--- a/Master/texmf/scripts/texlive/tl-package-manager.pl
+++ b/Master/texmf/scripts/texlive/tl-package-manager.pl
@@ -270,8 +270,12 @@ if ($ret & 0x0100) {
"$TEXMFSYSVAR/web2c/fmtutil.cnf",
"$TEXMFLOCAL/web2c/fmtutil-local.cnf");
# system("texconfig-sys", "generate", "fmtutil");
- print "running fmtutil-sys --missing\n";
- system("fmtutil-sys", "--missing");
+ # running fmtutil-sys only in case that at installation time the
+ # option for building formats was selected
+ if ($localtlpdb->option_formats) {
+ print "running fmtutil-sys --missing\n";
+ system("fmtutil-sys", "--missing");
+ }
}
if ($ret & 0x1000) {
print "regenerating language.dat\n";