From 6c301e1487a9a0130a6081fdb4f9b16cf7cf16a2 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 24 Feb 2001 20:52:07 +0000 Subject: move writing to config files from install2::selectKeyboard to install_steps --- perl-install/install_steps.pm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'perl-install/install_steps.pm') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index c2dd27108..6d1f1093e 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -101,6 +101,15 @@ sub selectLanguage { 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; } #------------------------------------------------------------------------------ sub selectPath {} -- cgit v1.2.1