diff options
author | Pablo Saratxaga <pablo@mandriva.com> | 2000-09-29 17:15:17 +0000 |
---|---|---|
committer | Pablo Saratxaga <pablo@mandriva.com> | 2000-09-29 17:15:17 +0000 |
commit | bc2e78e659057258351a7ca7dcfdad0c8ebe6396 (patch) | |
tree | 58a28e136ec8a9fb60aa681deef7a18e16e72896 /perl-install/lang.pm | |
parent | 259e127fc6202c3744187353e44a8a2bd8a7616f (diff) | |
download | drakx-bc2e78e659057258351a7ca7dcfdad0c8ebe6396.tar drakx-bc2e78e659057258351a7ca7dcfdad0c8ebe6396.tar.gz drakx-bc2e78e659057258351a7ca7dcfdad0c8ebe6396.tar.bz2 drakx-bc2e78e659057258351a7ca7dcfdad0c8ebe6396.tar.xz drakx-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.pm | 4 |
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) { |