diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-01-05 15:35:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-01-05 15:35:52 +0000 |
commit | e1391b772e152138ce013386c2e209bc6703d81c (patch) | |
tree | 3fa2e596c4cd09bed1ec7046351cc7a33d788583 /perl-install/install_steps_interactive.pm | |
parent | 7d9fcc1a41ba9779212bb9a1b594d0ff9be07a01 (diff) | |
download | drakx-backup-do-not-use-e1391b772e152138ce013386c2e209bc6703d81c.tar drakx-backup-do-not-use-e1391b772e152138ce013386c2e209bc6703d81c.tar.gz drakx-backup-do-not-use-e1391b772e152138ce013386c2e209bc6703d81c.tar.bz2 drakx-backup-do-not-use-e1391b772e152138ce013386c2e209bc6703d81c.tar.xz drakx-backup-do-not-use-e1391b772e152138ce013386c2e209bc6703d81c.zip |
fix selecting "other" keyboard when @best <= 1
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-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 76d1b2baa..3de853a65 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -123,7 +123,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; |