From e155150a5b3d55eeb5b869113dc887092be2b9aa Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 20 Feb 2003 14:54:09 +0000 Subject: install the potentially needed locales country when user selected another country --- perl-install/install_steps_interactive.pm | 1 + 1 file changed, 1 insertion(+) (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 ce5a4833d..ccb8cc961 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -881,6 +881,7 @@ sub summary { val => sub { lang::c2name($o->{locale}{country}) }, clicked => sub { any::selectCountry($o, $o->{locale}) or return; + $o->do_pkgs->install('locales-' . substr(lang::c2locale($o->{locale}{country}), 0, 2)); lang::write($o->{prefix}, $o->{locale}); if (!$timezone_manually_set) { delete $o->{timezone}; -- cgit v1.2.1