From b78a2ae48225c561ff6207972f8983dbaa1e9586 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 30 Apr 2009 10:35:07 +0000 Subject: fix tlmgr generate langauge buggyness git-svn-id: svn://tug.org/texlive/branches/branch2009-dev@12886 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/scripts/texlive/tlmgr.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 3ee79163da0..00d5821e551 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -2032,7 +2032,11 @@ sub action_generate { $localconf ||= "$TEXMFLOCAL/tex/generic/config/language-local.dat"; debug ("$0: writing language.dat data to $dest\n"); TeXLive::TLUtils::create_language_dat($localtlpdb, $dest, $localconf); - $dest .= ".def"; + if ($what =~ m/^language$/i) { + # the next if will match but we have to undefine the $dest + # variable so that it is reset to the right value + undef $dest; + } } if ($what =~ m/^language(\.def)?$/i) { $dest ||= "$TEXMFSYSVAR/tex/generic/config/language.def"; -- cgit v1.2.3