summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-01-04 22:13:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-01-04 22:13:57 +0000
commit85e21d9abb2daf68be31c33dcdbc8874c3cc8fdc (patch)
tree3a45e1e56f50f9f59ea5d3db0be6b279ee0eb526 /perl-install/Xconfig.pm
parentf7537f35d8002323124bbb8aa40b627152660bf3 (diff)
downloaddrakx-85e21d9abb2daf68be31c33dcdbc8874c3cc8fdc.tar
drakx-85e21d9abb2daf68be31c33dcdbc8874c3cc8fdc.tar.gz
drakx-85e21d9abb2daf68be31c33dcdbc8874c3cc8fdc.tar.bz2
drakx-85e21d9abb2daf68be31c33dcdbc8874c3cc8fdc.tar.xz
drakx-85e21d9abb2daf68be31c33dcdbc8874c3cc8fdc.zip
no_comment
Diffstat (limited to 'perl-install/Xconfig.pm')
-rw-r--r--perl-install/Xconfig.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/Xconfig.pm b/perl-install/Xconfig.pm
index 759696207..71a75cc67 100644
--- a/perl-install/Xconfig.pm
+++ b/perl-install/Xconfig.pm
@@ -107,8 +107,7 @@ sub getinfoFromSysconfig {
add2hash($o->{mouse} ||= {}, { getVarsFromSh("$prefix/etc/sysconfig/mouse") });
if (my %keyboard = getVarsFromSh "$prefix/etc/sysconfig/keyboard") {
- $keyboard{KEYTABLE} or last;
- $o->{keyboard}{xkb_keymap} ||= keymap_translate($keyboard{KEYTABLE});
+ $o->{keyboard}{xkb_keymap} ||= keymap_translate($keyboard{KEYTABLE}) if $keyboard{KEYTABLE};
}
$o;
}