diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-02-10 23:16:14 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-02-10 23:16:14 +0000 |
commit | a1d37f6d5ddc4da5b3d4ce610568f7b7154276ea (patch) | |
tree | 04ca9e82f3f182c2a7aedff38c400dd85b216313 /perl-install/any.pm | |
parent | b78c6c943967f88f88da5157dffd586d5950134f (diff) | |
download | drakx-backup-do-not-use-a1d37f6d5ddc4da5b3d4ce610568f7b7154276ea.tar drakx-backup-do-not-use-a1d37f6d5ddc4da5b3d4ce610568f7b7154276ea.tar.gz drakx-backup-do-not-use-a1d37f6d5ddc4da5b3d4ce610568f7b7154276ea.tar.bz2 drakx-backup-do-not-use-a1d37f6d5ddc4da5b3d4ce610568f7b7154276ea.tar.xz drakx-backup-do-not-use-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.pm | 4 |
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... |