diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-03-11 14:09:13 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-03-11 14:09:13 +0000 |
commit | c90472e7608a758bf75767200be8bd089af298c6 (patch) | |
tree | 5dc56b75e6729dcac52247c553379456b3189598 | |
parent | e3a11629a710b6074837df3bbc7d909c80d5c04a (diff) | |
download | drakx-c90472e7608a758bf75767200be8bd089af298c6.tar drakx-c90472e7608a758bf75767200be8bd089af298c6.tar.gz drakx-c90472e7608a758bf75767200be8bd089af298c6.tar.bz2 drakx-c90472e7608a758bf75767200be8bd089af298c6.tar.xz drakx-c90472e7608a758bf75767200be8bd089af298c6.zip |
install additional locales package for country according to the locale that will be really used, not according to the default locale for a given country (fixing unecessary installing of locales-de in case of a fr_CH install)
-rw-r--r-- | perl-install/install_steps_interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index 90d10e869..1ea916765 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -898,7 +898,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)); + $o->do_pkgs->install('locales-' . substr(lang::getlocale_for_country($o->{locale}{lang}, $o->{locale}{country}), 0, 2)); lang::write($o->{prefix}, $o->{locale}); if (!$timezone_manually_set) { delete $o->{timezone}; |