summaryrefslogtreecommitdiffstats
path: root/perl-install/install/media.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-08-20 08:43:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-08-20 08:43:17 +0000
commit8e06966029625c6ae1b3a42b7261d579f27f30c3 (patch)
tree72f0960e4d23932fb2825dbd84eb3c1c2d2cf968 /perl-install/install/media.pm
parent150a4bdf91e917db24a025a2d49fc32a1e1c4909 (diff)
downloaddrakx-8e06966029625c6ae1b3a42b7261d579f27f30c3.tar
drakx-8e06966029625c6ae1b3a42b7261d579f27f30c3.tar.gz
drakx-8e06966029625c6ae1b3a42b7261d579f27f30c3.tar.bz2
drakx-8e06966029625c6ae1b3a42b7261d579f27f30c3.tar.xz
drakx-8e06966029625c6ae1b3a42b7261d579f27f30c3.zip
- allow passing suppl=0 to disable "additional installation media" question
Diffstat (limited to 'perl-install/install/media.pm')
-rw-r--r--perl-install/install/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index 09837c3b1..d8f32a5de 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -647,7 +647,7 @@ sub get_media_cfg {
}
}
- my $suppl_CDs = $distribconf->{suppl} || $o->{supplmedia} || 0;
+ my $suppl_CDs = exists $o->{supplmedia} ? $o->{supplmedia} : $distribconf->{suppl} || 0;
my $deselectionAllowed = $distribconf->{askmedia} || $o->{askmedia} || 0;
associate_phys_media($o->{all_hds}, $phys_medium, $hdlists);