summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl
index 0e39eb74c6a..b068fa883f7 100755
--- a/Master/texmf/scripts/texlive/tlmgr.pl
+++ b/Master/texmf/scripts/texlive/tlmgr.pl
@@ -3230,6 +3230,12 @@ sub action_generate {
"$TEXMFLOCAL/tex/generic/config/language-local.dat.lua";
debug("$0: writing language.dat.lua data to $dest\n");
TeXLive::TLUtils::create_language_lua($localtlpdb, $dest, $localcfg);
+ if ($opts{"rebuild-sys"}) {
+ do_cmd_and_check("fmtutil-sys --byhyphen $dest");
+ } else {
+ info("To make the newly-generated language.dat take effect,"
+ . " run fmtutil-sys --byhyphen $dest.\n");
+ }
}
if ($what =~ m/^language(\.dat)?$/i) {
my $dest = $opts{"dest"} ||