From 1ab88fba23f2642451be7063ae4e2fd175a346d2 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 4 Sep 2001 16:21:19 +0000 Subject: fix bad vga= which go for some install. --- perl-install/install_steps.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 5089beca0..950bbdb90 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -739,9 +739,9 @@ sub setupBootloaderBefore { !detect_devices::matching_desc('S3 Inc') && !detect_devices::matching_desc('Matrox') && !detect_devices::matching_desc('Rage Mobility') - ) && $o->{vga}; + ); my $force_vga = $o->{allowFB} && (detect_devices::matching_desc('SiS.*630') #- SiS 630 need frame buffer. - ) && $o->{vga}; + ); require bootloader; #- propose the default fb mode for kernel fb, if aurora is installed too. @@ -750,7 +750,7 @@ sub setupBootloaderBefore { $p && pkgs::packageFlagInstalled($p); }; bootloader::suggest($o->{prefix}, $o->{bootloader}, $o->{all_hds}{hds}, $o->{fstab}, install_any::kernelVersion($o), - $force_vga || $vga && $has_aurora); + ($force_vga || $vga && $has_aurora) && $o->{vga}); bootloader::suggest_floppy($o->{bootloader}) if $o->{security} <= 3 && arch() !~ /ppc/; $o->{bootloader}{keytable} ||= keyboard::keyboard2kmap($o->{keyboard}); -- cgit v1.2.1