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.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index c813672b8..ff0a674a5 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -107,8 +107,10 @@ sub setPackages {
$o->{compssList} = pkgs::readCompssList($o->{packages});
push @{$o->{base}}, "kernel-smp" if smp::detect();
- $o->{packages}{$_}{base} =
- $o->{packages}{$_}{selected} = 1 foreach @{$o->{base}};
+ do {
+ my $p = $o->{packages}{$_} or log::l(), next;
+ pkgs::select($o->{packages}, $p, 1);
+ } foreach @{$o->{base}};
pkgs::setShowFromCompss($o->{compss}, $o->{installClass}, $o->{lang});