summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-02 02:46:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-02 02:46:14 +0000
commiteba9c3257866392f91132c338fbe59a4b01fa119 (patch)
treed0127870b0210f687f4c456ea87e4f2c50eea0dc /perl-install/install_steps.pm
parentc7f7e91919ee72b885d5b3253c608393279945ae (diff)
downloaddrakx-eba9c3257866392f91132c338fbe59a4b01fa119.tar
drakx-eba9c3257866392f91132c338fbe59a4b01fa119.tar.gz
drakx-eba9c3257866392f91132c338fbe59a4b01fa119.tar.bz2
drakx-eba9c3257866392f91132c338fbe59a4b01fa119.tar.xz
drakx-eba9c3257866392f91132c338fbe59a4b01fa119.zip
- create keyboard::default() and use it
- it uses keyboard::from_DMI() to get XkbModel when possible
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 9972dfc2e..f2237a9cb 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -119,7 +119,7 @@ sub selectLanguage {
$o->{keyboard} = { KEYBOARD => $o->{keyboard} } if $o->{keyboard} && !ref($o->{keyboard});
if (!$o->{keyboard} || $o->{keyboard}{unsafe}) {
- $o->{keyboard} = keyboard::from_usb() || keyboard::lang2keyboard($o->{locale}{lang});
+ $o->{keyboard} = keyboard::default($o->{locale});
$o->{keyboard}{unsafe} = 1;
keyboard::setup($o->{keyboard});
}