diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-01-05 15:35:09 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-01-05 15:35:09 +0000 |
commit | bbe1c4214498c2e58753e9031b76258d28325f36 (patch) | |
tree | 9833722b22c220258751514e4f36e7a02b639ecf | |
parent | 401489a11a5bf8d8959f72152b83ab5c6c9dd727 (diff) | |
download | drakx-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.pm | 2 |
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; |