summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-12-22 20:07:36 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-12-22 20:07:36 +0000
commite1922243bd426cc4af43aa806027d3c8e1c2a810 (patch)
treea86284d78d0b3f165d5b224d4cfebcd5a899d55d /perl-install/lang.pm
parent780e03f8220980809fa187aa442978dd2ab7cc33 (diff)
downloaddrakx-backup-do-not-use-e1922243bd426cc4af43aa806027d3c8e1c2a810.tar
drakx-backup-do-not-use-e1922243bd426cc4af43aa806027d3c8e1c2a810.tar.gz
drakx-backup-do-not-use-e1922243bd426cc4af43aa806027d3c8e1c2a810.tar.bz2
drakx-backup-do-not-use-e1922243bd426cc4af43aa806027d3c8e1c2a810.tar.xz
drakx-backup-do-not-use-e1922243bd426cc4af43aa806027d3c8e1c2a810.zip
no_comment
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm9
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 {