diff options
Diffstat (limited to 'Master/texmf-dist/scripts/texlive/tlmgr.pl')
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgr.pl | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index 0e114485086..1f1ffc91f6d 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -963,6 +963,9 @@ sub handle_execute_actions { TeXLive::TLUtils::create_fmtutil($localtlpdb, "$TEXMFDIST/web2c/fmtutil.cnf"); } + if (!$opt_fmt) { + info("formats not rebuilt per user option (create_formats=0)\n"); + } if ($opt_fmt && !$::regenerate_all_formats) { # first regenerate all formats --byengine for my $e (keys %updated_engines) { @@ -994,20 +997,18 @@ sub handle_execute_actions { # Use full path for external command, except on Windows. $lang = "$TEXMFSYSVAR/tex/generic/config/$lang"; } - if ($localtlpdb->option("create_formats") - && !$::regenerate_all_formats) { + if ($opt_fmt && !$::regenerate_all_formats) { $errors += do_cmd_and_check ("$invoke_fmtutil --byhyphen \"$lang\""); } } } - } - # - if ($::regenerate_all_formats) { - info("Regenerating all formats, this may take some time ..."); - $errors += do_cmd_and_check("$invoke_fmtutil --all"); - info("done\n"); - $::regenerate_all_formats = 0; + if ($opt_fmt && $::regenerate_all_formats) { + info("Regenerating all formats, this may take some time ..."); + $errors += do_cmd_and_check("$invoke_fmtutil --all"); + info("done\n"); + $::regenerate_all_formats = 0; + } } # undefine the global var, otherwise in GUI mode the actions |