summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-07-14 09:44:39 +0000
committerOlivier Blin <oblin@mandriva.org>2004-07-14 09:44:39 +0000
commitc7a51a05b2b5c409fbaa47a3858a4252d0798353 (patch)
treed7a472b3cd86bc576022cc3e393169093cfb7656
parentd13151be5c57e67cc1a9faf8ad236f88507e06ce (diff)
downloaddrakx-c7a51a05b2b5c409fbaa47a3858a4252d0798353.tar
drakx-c7a51a05b2b5c409fbaa47a3858a4252d0798353.tar.gz
drakx-c7a51a05b2b5c409fbaa47a3858a4252d0798353.tar.bz2
drakx-c7a51a05b2b5c409fbaa47a3858a4252d0798353.tar.xz
drakx-c7a51a05b2b5c409fbaa47a3858a4252d0798353.zip
to_bool is what I was looking for, thanks Pixel
-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!