diff options
author | Norbert Preining <preining@logic.at> | 2008-03-29 19:07:59 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-03-29 19:07:59 +0000 |
commit | 4d66e5d1bdfb3882f09301e84da4fd2be9600ec9 (patch) | |
tree | 2562b372c39d4e7c40a616697af32ea3bbb594e4 /Master/texmf/scripts | |
parent | 224513b76056dd4fa4c6467d211cf03d601a0858 (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/texmf/scripts')
-rwxr-xr-x | Master/texmf/scripts/texlive/tl-package-manager.pl | 8 |
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"; |