diff options
author | Norbert Preining <preining@logic.at> | 2021-04-13 01:01:37 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2021-04-13 01:01:37 +0000 |
commit | 720bc0b2307134ac9a127e66650b083cc00f717f (patch) | |
tree | 50658779e8ae1616fcccd6c5c65f794146517517 | |
parent | ea5e0501c53ffdd633173ef4de9095dbfe60c1f4 (diff) |
tlmgr: only refresh formats on paper changes
git-svn-id: svn://tug.org/texlive/trunk@58862 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgr.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index 136b27e395d..d6b669e902f 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -1005,9 +1005,12 @@ sub handle_execute_actions { } } + # ::regenerate_all_formats comes from TLPaper updates + # so we just refresh formats instead of generating all that have not been there if ($::regenerate_all_formats) { - info("Regenerating all formats, this may take some time ..."); - $errors += do_cmd_and_check("$invoke_fmtutil --all"); + info("Regenerating available formats, this may take some time ..."); + # --refresh might already be in $invoke_fmtutil, but we don't care + $errors += do_cmd_and_check("$invoke_fmtutil --refresh --all"); info("done\n"); $::regenerate_all_formats = 0; } |