summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-05 15:35:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-05 15:35:09 +0000
commitbbe1c4214498c2e58753e9031b76258d28325f36 (patch)
tree9833722b22c220258751514e4f36e7a02b639ecf
parent401489a11a5bf8d8959f72152b83ab5c6c9dd727 (diff)
downloaddrakx-bbe1c4214498c2e58753e9031b76258d28325f36.tar
drakx-bbe1c4214498c2e58753e9031b76258d28325f36.tar.gz
drakx-bbe1c4214498c2e58753e9031b76258d28325f36.tar.bz2
drakx-bbe1c4214498c2e58753e9031b76258d28325f36.tar.xz
drakx-bbe1c4214498c2e58753e9031b76258d28325f36.zip
fix selecting "other" keyboard when @best <= 1
-rw-r--r--perl-install/install_steps_interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index 73ba37208..d8b2a574c 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -129,7 +129,7 @@ sub selectKeyboard {
{ val => \$ext_keyboard, type => 'list', format => $format,
list => [ difference2([ keyboard::KEYBOARDs() ], \@best) ], advanced => @best > 1 }
]);
- $o->{keyboard}{KEYBOARD} = $other ? $ext_keyboard : $KEYBOARD;
+ $o->{keyboard}{KEYBOARD} = @best <= 1 || $other ? $ext_keyboard : $KEYBOARD;
delete $o->{keyboard}{unsafe};
}
keyboard::group_toggle_choose($o, $o->{keyboard}) or goto &selectKeyboard;