summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-09 00:25:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-09 00:25:41 +0000
commit9c488e1ab2c67231c196a709808445d204918748 (patch)
treeb5c90af68b883383e1993dcb656d95db15dd7871 /perl-install
parent9d1175fe94e51daec790d22bb64b182922f773ea (diff)
downloaddrakx-9c488e1ab2c67231c196a709808445d204918748.tar
drakx-9c488e1ab2c67231c196a709808445d204918748.tar.gz
drakx-9c488e1ab2c67231c196a709808445d204918748.tar.bz2
drakx-9c488e1ab2c67231c196a709808445d204918748.tar.xz
drakx-9c488e1ab2c67231c196a709808445d204918748.zip
(setPackages): set compssUsersChoice LOCALES"*"
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 3686893b8..dd3c5431d 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -328,9 +328,10 @@ sub setPackages {
foreach (map { substr($_, 0, 2) } lang::langs($o->{langs})) {
pkgs::packageByName($o->{packages}, "locales-$_") or next;
push @{$o->{default_packages}}, "locales-$_";
+ }
+ foreach (lang::langs($o->{langs})) {
$o->{compssUsersChoice}{qq(LOCALES"$_")} = 1;
}
-
#- for the first time, select package to upgrade.
#- TOCHECK this may not be the best place for that as package are selected at some other point.
$o->selectPackagesToUpgrade if $o->{isUpgrade};