From 7d5053d26dd22f2bf92f93c266757d083531019c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 16 Nov 2001 12:31:44 +0000 Subject: syntax cleanup --- perl-install/any.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'perl-install/any.pm') 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 -- cgit v1.2.1