summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-11-16 12:31:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-11-16 12:31:44 +0000
commit7d5053d26dd22f2bf92f93c266757d083531019c (patch)
treee29407d16d702690ec8794b4e5b6b6540e3f217f
parent630a965d6ffe5428ef444881f00bc25a2935632e (diff)
downloaddrakx-7d5053d26dd22f2bf92f93c266757d083531019c.tar
drakx-7d5053d26dd22f2bf92f93c266757d083531019c.tar.gz
drakx-7d5053d26dd22f2bf92f93c266757d083531019c.tar.bz2
drakx-7d5053d26dd22f2bf92f93c266757d083531019c.tar.xz
drakx-7d5053d26dd22f2bf92f93c266757d083531019c.zip
syntax cleanup
-rw-r--r--perl-install/any.pm9
1 files changed, 5 insertions, 4 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 45b34f600..563cb4f4d 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -92,10 +92,11 @@ sub setupBootloader {
my $semi_auto = !$::expert && arch() !~ /ia64/;
my $ask_per_entries = $::expert || $more > 1;
$automatic = 0 if arch() =~ /ppc/; #- no auto for PPC yet
- $automatic = $semi_auto = 0
- #- full expert questions when there is 2 kind of disks
- #- it would need a semi_auto asking on which drive the bios boots...
- if (grep { $_->{device} =~ /^sd/ } @$hds) && (grep { $_->{device} =~ /^hd/ } @$hds);
+ if (grep { $_->{device} =~ /^sd/ } @$hds) && (grep { $_->{device} =~ /^hd/ } @$hds) {
+ $automatic = $semi_auto = 0;
+ #- full expert questions when there is 2 kind of disks
+ #- it would need a semi_auto asking on which drive the bios boots...
+ }
if ($automatic) {
#- automatic