summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_any.pm')
-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 e2089b2aa..1094d82a1 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -311,7 +311,8 @@ sub setPackages {
$o->{compssUsersChoice}{SYSTEM} = 1;
foreach (map { substr($_, 0, 2) } lang::langs($o->{langs})) {
- push @{$o->{default_packages}}, pkgs::packageByName($o->{packages}, "locales-$_") || next;
+ pkgs::packageByName($o->{packages}, "locales-$_") or next;
+ push @{$o->{default_packages}}, "locales-$_";
$o->{compssUsersChoice}{qq(LOCALES"$_")} = 1;
}