summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
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 032d62399..c558a8842 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -637,7 +637,7 @@ sub chooseCD {
}
if (install_any::method_is_from_ISO_images($o->{method})) {
- $mediumsDescr{$_} = defined(install_any::find_ISO_image_labelled($_)) || 0 foreach @mediumsDescr;
+ $mediumsDescr{$_} = to_bool(install_any::find_ISO_image_labelled($_)) foreach @mediumsDescr;
} elsif ($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!