summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-10-11 09:58:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-10-11 09:58:39 +0000
commit4059602c5cf6750fbe2f15ecb6c1dd171bbc94bc (patch)
tree3e095b551d1b4a43b30d7a965e63b45abdadc9ee /perl-install
parente3b3dcd7ac3acecc443ebf5de6d94a7499732e89 (diff)
downloaddrakx-backup-do-not-use-4059602c5cf6750fbe2f15ecb6c1dd171bbc94bc.tar
drakx-backup-do-not-use-4059602c5cf6750fbe2f15ecb6c1dd171bbc94bc.tar.gz
drakx-backup-do-not-use-4059602c5cf6750fbe2f15ecb6c1dd171bbc94bc.tar.bz2
drakx-backup-do-not-use-4059602c5cf6750fbe2f15ecb6c1dd171bbc94bc.tar.xz
drakx-backup-do-not-use-4059602c5cf6750fbe2f15ecb6c1dd171bbc94bc.zip
* (selectKeyboard): set default $o->{langs} to $o->{lang}
Diffstat (limited to 'perl-install')
-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 a3d24602e..8bd1f5a87 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -160,7 +160,7 @@ sub selectKeyboard($) {
if ($::expert && ref($o) !~ /newt/) { #- newt is buggy with big windows :-(
$o->set_help('selectLangs');
- $o->{langs} ||= [];
+ $o->{langs} ||= [ $o->{lang} ];
my $all = $o->{langs}[0] eq 'all';
$o->{langs} = $o->ask_many_from_list('',
_("You can choose other languages that will be available after install"),