summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-10 23:16:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-10 23:16:14 +0000
commita1d37f6d5ddc4da5b3d4ce610568f7b7154276ea (patch)
tree04ca9e82f3f182c2a7aedff38c400dd85b216313 /perl-install/any.pm
parentb78c6c943967f88f88da5157dffd586d5950134f (diff)
downloaddrakx-a1d37f6d5ddc4da5b3d4ce610568f7b7154276ea.tar
drakx-a1d37f6d5ddc4da5b3d4ce610568f7b7154276ea.tar.gz
drakx-a1d37f6d5ddc4da5b3d4ce610568f7b7154276ea.tar.bz2
drakx-a1d37f6d5ddc4da5b3d4ce610568f7b7154276ea.tar.xz
drakx-a1d37f6d5ddc4da5b3d4ce610568f7b7154276ea.zip
in case there is both ata66 (hde) and ata33 hard drives, go to expert
questions directly (it would need a semi_auto asking on which drive the bios boots...)
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 6caeef9d7..b6c6542b0 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -98,7 +98,9 @@ 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
- if ((grep { $_->{device} =~ /^sd/ } @$hds) && (grep { $_->{device} =~ /^hd/ } @$hds)) {
+ if ((grep { $_->{device} =~ /^sd/ } @$hds) && (grep { $_->{device} =~ /^hd/ } @$hds) ||
+ (grep { $_->{device} =~ /^hd[fghi]/ } @$hds) && (grep { $_->{device} =~ /^hd[abcd]/ } @$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...