summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-02-20 14:54:09 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-02-20 14:54:09 +0000
commite155150a5b3d55eeb5b869113dc887092be2b9aa (patch)
tree574545028d6f767eb47a00860058522310ae5f08 /perl-install
parentc5159a7ccd7fdec39654fb574652dc27fd950c76 (diff)
downloaddrakx-e155150a5b3d55eeb5b869113dc887092be2b9aa.tar
drakx-e155150a5b3d55eeb5b869113dc887092be2b9aa.tar.gz
drakx-e155150a5b3d55eeb5b869113dc887092be2b9aa.tar.bz2
drakx-e155150a5b3d55eeb5b869113dc887092be2b9aa.tar.xz
drakx-e155150a5b3d55eeb5b869113dc887092be2b9aa.zip
install the potentially needed locales country when user selected
another country
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_interactive.pm1
1 files changed, 1 insertions, 0 deletions
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};