summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2000-09-29 17:15:17 +0000
committerPablo Saratxaga <pablo@mandriva.com>2000-09-29 17:15:17 +0000
commitbc2e78e659057258351a7ca7dcfdad0c8ebe6396 (patch)
tree58a28e136ec8a9fb60aa681deef7a18e16e72896 /perl-install/lang.pm
parent259e127fc6202c3744187353e44a8a2bd8a7616f (diff)
downloaddrakx-backup-do-not-use-bc2e78e659057258351a7ca7dcfdad0c8ebe6396.tar
drakx-backup-do-not-use-bc2e78e659057258351a7ca7dcfdad0c8ebe6396.tar.gz
drakx-backup-do-not-use-bc2e78e659057258351a7ca7dcfdad0c8ebe6396.tar.bz2
drakx-backup-do-not-use-bc2e78e659057258351a7ca7dcfdad0c8ebe6396.tar.xz
drakx-backup-do-not-use-bc2e78e659057258351a7ca7dcfdad0c8ebe6396.zip
small fix for the new behaviour of KDE_LANG variable
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 9f250bcdf..598d09ad7 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -300,7 +300,9 @@ sub write {
my $h = { RPM_INSTALL_LANG => $ENV{RPM_INSTALL_LANG} };
$h->{$_} = $lang foreach qw(LC_COLLATE LC_CTYPE LC_MESSAGES LC_NUMERIC LC_MONETARY LC_TIME);
if (my $l = $languages{$lang}) {
- add2hash $h, { LANG => $l->[2], LANGUAGE => $l->[3], KDE_LANG => $l->[3], RPM_INSTALL_LANG => $l->[3] };
+#-KDE_LANG on KDE2 seems to have a different behaviour than in KDE1; now
+#-it seems to accept only one language value :-(
+ add2hash $h, { LANG => $l->[2], LANGUAGE => $l->[3], KDE_LANG => $l->[2], RPM_INSTALL_LANG => $l->[3] };
my $c = $charsets{$l->[1] || ''};
if ($c) {