summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-07-20 08:33:27 +0000
committerOlivier Blin <oblin@mandriva.org>2004-07-20 08:33:27 +0000
commit6ef8680fc174c15f03a802bc32d087fff1799d5d (patch)
tree80dff025accb6dc9618ed998925cccde93adf01d /perl-install
parent610bf38688b86537e8344b63adc61c7389b98a42 (diff)
downloaddrakx-6ef8680fc174c15f03a802bc32d087fff1799d5d.tar
drakx-6ef8680fc174c15f03a802bc32d087fff1799d5d.tar.gz
drakx-6ef8680fc174c15f03a802bc32d087fff1799d5d.tar.bz2
drakx-6ef8680fc174c15f03a802bc32d087fff1799d5d.tar.xz
drakx-6ef8680fc174c15f03a802bc32d087fff1799d5d.zip
use correct method variable in chooseCD (even if this code is used only in expert
mode which isn't anymore supported)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index c558a8842..6e2e61270 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -638,7 +638,7 @@ sub chooseCD {
if (install_any::method_is_from_ISO_images($o->{method})) {
$mediumsDescr{$_} = to_bool(install_any::find_ISO_image_labelled($_)) foreach @mediumsDescr;
- } elsif ($method eq "cdrom") {
+ } elsif ($o->{method} eq "cdrom") {
#- if no other medium available or a poor beginner, we are choosing for him!
#- note first CD is always selected and should not be unselected!
return if @mediumsDescr == () || !$::expert;