From 11d5d7345a4b09f60ab5d11183fcc9dcbde86572 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 27 Feb 2002 16:26:31 +0000 Subject: ensure a keyboard is only once available, either in advanced or normal, but not in both (tx2fredl) --- perl-install/install_steps_interactive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install_steps_interactive.pm') diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index 033e64620..5f6307c2e 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -211,7 +211,7 @@ sub selectKeyboard { [ if_(@best > 1, { val => \$o->{keyboard}, type => 'list', format => $format, sort => 1, list => [ @best ] }), { val => \$ext_keyboard, type => 'list', format => $format, - list => [ keyboard::keyboards ], advanced => @best > 1 } + list => [ difference2([ keyboard::keyboards ], \@best) ], advanced => @best > 1 } ]); delete $o->{keyboard_unsafe}; -- cgit v1.2.1