summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-05 15:35:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-05 15:35:52 +0000
commite1391b772e152138ce013386c2e209bc6703d81c (patch)
tree3fa2e596c4cd09bed1ec7046351cc7a33d788583
parent7d9fcc1a41ba9779212bb9a1b594d0ff9be07a01 (diff)
downloaddrakx-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
-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 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;