From 6ef8680fc174c15f03a802bc32d087fff1799d5d Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 20 Jul 2004 08:33:27 +0000 Subject: use correct method variable in chooseCD (even if this code is used only in expert mode which isn't anymore supported) --- perl-install/install_steps_interactive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install_steps_interactive.pm') 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; -- cgit v1.2.1