diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-09-13 10:08:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-09-13 10:08:16 +0000 |
commit | 66a9e8fab73fbb74892bdba745e4dd31f508f5ab (patch) | |
tree | 1c61443217b2bb76007dafa643cdd8a67eef9652 /perl-install/Xconfig/default.pm | |
parent | 222e36ab7e6133a0099896e6b47b6b37947d437a (diff) | |
download | drakx-66a9e8fab73fbb74892bdba745e4dd31f508f5ab.tar drakx-66a9e8fab73fbb74892bdba745e4dd31f508f5ab.tar.gz drakx-66a9e8fab73fbb74892bdba745e4dd31f508f5ab.tar.bz2 drakx-66a9e8fab73fbb74892bdba745e4dd31f508f5ab.tar.xz drakx-66a9e8fab73fbb74892bdba745e4dd31f508f5ab.zip |
- keyboard::read() now returns false if the value is not recognised
- new function keyboard::read_or_default() which always returns a valid value
Diffstat (limited to 'perl-install/Xconfig/default.pm')
-rw-r--r-- | perl-install/Xconfig/default.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/default.pm b/perl-install/Xconfig/default.pm index 3f9038299..d2fb0f783 100644 --- a/perl-install/Xconfig/default.pm +++ b/perl-install/Xconfig/default.pm @@ -13,7 +13,7 @@ use modules::any_conf; sub configure { my ($do_pkgs, $o_keyboard, $o_mouse) = @_; - my $keyboard = $o_keyboard || keyboard::read(); + my $keyboard = $o_keyboard || keyboard::read_or_default(); my $mouse = $o_mouse || do { my $mouse = mouse::read(); add2hash($mouse, mouse::detect(modules::any_conf->read)) if !$::noauto; |