summaryrefslogtreecommitdiffstats
path: root/perl-install
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
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')
-rw-r--r--perl-install/install_any.pm6
-rw-r--r--perl-install/install_steps.pm1
2 files changed, 5 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});
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index ebae0afec..5d51e4ead 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -12,6 +12,7 @@ use run_program;
use lilo;
use lang;
use keyboard;
+use printer;
use pkgs;
use log;
use fsedit;