diff options
author | Norbert Preining <preining@logic.at> | 2008-11-28 15:18:35 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-11-28 15:18:35 +0000 |
commit | 592ddd6a663b9c1ba1495bac34e5f6a7ff400912 (patch) | |
tree | 1f7a2bfae35e0bf95a3a77daa6b30844bcfb0f9f | |
parent | e1e7ff970db4f1a3ea4c26b1247329c807d030cb (diff) |
fix an error in tlmgr that called fmtutil even with opt_format disabled
git-svn-id: svn://tug.org/texlive/trunk@11452 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 65538fbc0cc..b15e0847fd2 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -323,8 +323,11 @@ sub handle_ret_hash # Use full path for external command, except on Windows. $lang = "$TEXMFSYSVAR/tex/generic/config/$lang"; } - print "running fmtutil-sys --byhyphen $lang\n"; - $errors += system("fmtutil-sys", "--byhyphen", $lang); + # run fmtutil-sys only if the option for building formats is set. + if ($localtlpdb->option_create_formats) { + print "running fmtutil-sys --byhyphen $lang\n"; + $errors += system("fmtutil-sys", "--byhyphen", $lang); + } } } return $errors / 256; # we were accumulating wait statuses |