From 02c4150b64f6c76c8e5282b4ead401c05422bcba Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 6 Sep 2001 16:18:42 +0000 Subject: fix keyboard config + some cleanup --- perl-install/install_steps.pm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'perl-install/install_steps.pm') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 690678002..43e7aaf65 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -93,20 +93,22 @@ sub selectLanguage { if ($o->{keyboard_unsafe} || !$o->{keyboard}) { $o->{keyboard_unsafe} = 1; $o->{keyboard} = keyboard::lang2keyboard($o->{lang}); - selectKeyboard($o) if !$::live; + keyboard::setup($o->{keyboard}) if !$::live; } + + addToBeDone { + lang::write_langs($o->{prefix}, $o->{langs}); + } 'formatPartitions' unless $::g_auto_install; + addToBeDone { + lang::write($o->{prefix}, $o->{lang}); + } 'installPackages' unless $::g_auto_install; } #------------------------------------------------------------------------------ sub selectKeyboard { my ($o) = @_; keyboard::setup($o->{keyboard}); - #- if we go back to the selectKeyboard, you must rewrite addToBeDone { - lang::write_langs($o->{prefix}, $o->{langs}); - } 'formatPartitions' unless $::g_auto_install; - addToBeDone { - lang::write($o->{prefix}, $o->{lang}); keyboard::write($o->{prefix}, $o->{keyboard}, lang::lang2charset($o->{lang})); } 'installPackages' unless $::g_auto_install; } -- cgit v1.2.1