diff options
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/install-tl.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/install-tl.pl b/Master/install-tl.pl index 638145339bc..c7c9c9424b7 100755 --- a/Master/install-tl.pl +++ b/Master/install-tl.pl @@ -53,7 +53,10 @@ no utf8; # default language $::lang = "en"; -if ($^O !~ /^MSWin(32|64)$/i) { +if ($^O =~ /^MSWin(32|64)$/i) { + # trying to deduce automatically the country code + $::lang = TeXLive::TLWinGoo::reg_country(); +} else { # we load POSIX and locale stuff require POSIX; import POSIX qw/locale_h/; |