summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-02-14 19:32:31 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-02-14 19:32:31 +0000
commit974402fe1de7969cf5dcc436c8b25e37b295a2b8 (patch)
tree905a0f9af1fbd66eae2703a13013000b22be9378 /perl-install/install_any.pm
parentaf508b24b15cf06813e3758754fe5bfab79ef1a1 (diff)
downloaddrakx-974402fe1de7969cf5dcc436c8b25e37b295a2b8.tar
drakx-974402fe1de7969cf5dcc436c8b25e37b295a2b8.tar.gz
drakx-974402fe1de7969cf5dcc436c8b25e37b295a2b8.tar.bz2
drakx-974402fe1de7969cf5dcc436c8b25e37b295a2b8.tar.xz
drakx-974402fe1de7969cf5dcc436c8b25e37b295a2b8.zip
install the locales-xx package for the selected country
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 57ac266ed..6a7e2ee4c 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -397,6 +397,7 @@ sub setDefaultPackages {
push @{$o->{default_packages}}, "locales-$_";
$o->{compssUsersChoice}{qq(LOCALES"$_")} = 1; #- mainly for zh in case of zh_TW.Big5
}
+ push @{$o->{default_packages}}, 'locales-' . substr(lang::c2locale($o->{locale}{country}, 0, 2));
foreach (lang::langsLANGUAGE($o->{locale}{langs})) {
$o->{compssUsersChoice}{qq(LOCALES"$_")} = 1;
}