From bc2e78e659057258351a7ca7dcfdad0c8ebe6396 Mon Sep 17 00:00:00 2001 From: Pablo Saratxaga Date: Fri, 29 Sep 2000 17:15:17 +0000 Subject: small fix for the new behaviour of KDE_LANG variable --- perl-install/lang.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install/lang.pm') 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) { -- cgit v1.2.1