summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-09-04 13:48:34 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-09-04 13:48:34 +0000
commitdd60c7b883a429a626c0d2f98446f34e40aa8620 (patch)
treea99f8b3ca78a227278ef36c5b2519ea05448ffb2 /perl-install/install_any.pm
parenta050b68bbd857de1142394ad9bd23c83dafe52ec (diff)
downloaddrakx-dd60c7b883a429a626c0d2f98446f34e40aa8620.tar
drakx-dd60c7b883a429a626c0d2f98446f34e40aa8620.tar.gz
drakx-dd60c7b883a429a626c0d2f98446f34e40aa8620.tar.bz2
drakx-dd60c7b883a429a626c0d2f98446f34e40aa8620.tar.xz
drakx-dd60c7b883a429a626c0d2f98446f34e40aa8620.zip
no_comment
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});