summaryrefslogtreecommitdiff
path: root/Master/texmf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl18
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl
index c7528726f1a..0e39eb74c6a 100755
--- a/Master/texmf/scripts/texlive/tlmgr.pl
+++ b/Master/texmf/scripts/texlive/tlmgr.pl
@@ -3222,6 +3222,15 @@ sub action_generate {
#
# we have to set TEXMFVAR, TEXMFCONFIG in the environment so that
# searching for language.(dat/def) does search in the right place
+ if ($what =~ m/^language(\.dat\.lua)?$/i) {
+ my $dest = $opts{"dest"} ||
+ "$TEXMFSYSVAR/tex/generic/config/language.dat.lua";
+ $dest .= ".dat.lua" if $append_extension;
+ my $localcfg = $opts{"localcfg"} ||
+ "$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 ($what =~ m/^language(\.dat)?$/i) {
my $dest = $opts{"dest"} ||
"$TEXMFSYSVAR/tex/generic/config/language.dat";
@@ -3252,15 +3261,6 @@ sub action_generate {
. " run fmtutil-sys --byhyphen $dest.\n");
}
}
- if ($what =~ m/^language(\.dat\.lua)?$/i) {
- my $dest = $opts{"dest"} ||
- "$TEXMFSYSVAR/tex/generic/config/language.dat.lua";
- $dest .= ".dat.lua" if $append_extension;
- my $localcfg = $opts{"localcfg"} ||
- "$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);
- }
} elsif ($what =~ m/^fmtutil$/i) {
my $dest = $opts{"dest"} || "$TEXMFSYSVAR/web2c/fmtutil.cnf";