diff options
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 9bde01ab219..581ac3aff1f 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -435,6 +435,7 @@ sub handle_execute_actions { if ($::files_changed) { $errors += do_cmd_and_check("mktexlsr"); + $::files_changed = 0; } # @@ -548,8 +549,12 @@ sub handle_execute_actions { # if ($::regenerate_all_formats) { $errors += do_cmd_and_check("fmtutil-sys --all"); + $::regenerate_all_formats = 0; } + # undefine the global var, otherwise in GUI mode the actions are accumulating + undef %::execute_actions; + return $errors; } |