summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-09 07:18:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-09 07:18:33 +0000
commit219ae389145f18db6577d823f0e56b87515da692 (patch)
tree6a2c1e775675638116607dc93826b68fe245c8e5 /perl-install
parent7db5765e222c6d84bfe33dd7258c8ffe61d4be12 (diff)
downloaddrakx-219ae389145f18db6577d823f0e56b87515da692.tar
drakx-219ae389145f18db6577d823f0e56b87515da692.tar.gz
drakx-219ae389145f18db6577d823f0e56b87515da692.tar.bz2
drakx-219ae389145f18db6577d823f0e56b87515da692.tar.xz
drakx-219ae389145f18db6577d823f0e56b87515da692.zip
we can't differentiate all the scim+xxx IMs, so we ensure we prefer "scim+(default)"
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/lang.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index bc6d77d76..15e024e13 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -969,7 +969,7 @@ sub read {
my $locale = system_locales_to_ourlocale($h{LC_MESSAGES} || 'en_US', $h{LC_MONETARY} || 'en_US');
if (find { $h{$_} } @IM_i18n_fields) {
- my @l = keys %IM_config;
+ my @l = grep { !/^scim/ || /\(default\)/ } keys %IM_config;
foreach my $field ('XMODIFIERS', 'XIM_PROGRAM') {
$h{$field} or next;
my @m = grep { $h{$field} eq $IM_config{$_}{$field} } @l or last;