diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-12-22 20:07:36 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-12-22 20:07:36 +0000 |
commit | e1922243bd426cc4af43aa806027d3c8e1c2a810 (patch) | |
tree | a86284d78d0b3f165d5b224d4cfebcd5a899d55d /perl-install/lang.pm | |
parent | 780e03f8220980809fa187aa442978dd2ab7cc33 (diff) | |
download | drakx-e1922243bd426cc4af43aa806027d3c8e1c2a810.tar drakx-e1922243bd426cc4af43aa806027d3c8e1c2a810.tar.gz drakx-e1922243bd426cc4af43aa806027d3c8e1c2a810.tar.bz2 drakx-e1922243bd426cc4af43aa806027d3c8e1c2a810.tar.xz drakx-e1922243bd426cc4af43aa806027d3c8e1c2a810.zip |
no_comment
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r-- | perl-install/lang.pm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm index 07511c48c..7a4d77785 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -170,13 +170,20 @@ sub set { $ENV{LANG} = $languages{$lang}[2]; $ENV{LANGUAGE} = $languages{$lang}[3]; $ENV{LINGUAS} = $languages{$lang}[3]; + + local $_ = $languages{$lang}[1]; + s/iso-8859-1$/iso-8859-15/; + s/iso-/iso/; + s/koi8-.*/koi8/; + s/cp1251/mscp1251/; + + commands::install_cpio("/usr/share/locale", $languages{$lang}[2], "misc", $_); } else { # stick with the default (English) */ delete $ENV{LANG}; delete $ENV{LC_ALL}; delete $ENV{LINGUAS}; } - commands::install_cpio("/usr/share/locale", $lang); } sub write { |