From caee62ed41694df1e49f7e4b219343649c5e4115 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 4 Dec 2001 11:28:50 +0000 Subject: make sure lilo is installed on automatic mode. --- perl-install/any.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install/any.pm') diff --git a/perl-install/any.pm b/perl-install/any.pm index 9e459af1c..ffd908f63 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -107,7 +107,7 @@ sub setupBootloader { if (arch() =~ /sparc/) { $b->{use_partition} = $in->ask_from_list_(_("SILO Installation"), _("Where do you want to install the bootloader?"), - \@l, $l[$b->{use_partition}]) or return; + \@l, $l[$b->{use_partition}]) or return 0; } elsif (arch() =~ /ppc/) { if (defined $partition_table_mac::bootstrap_part) { $b->{boot} = $partition_table_mac::bootstrap_part; @@ -197,7 +197,7 @@ sub setupBootloader { $b->{methods}{$_} = 0 foreach keys %{$b->{methods}}; $bootloaders{$bootloader} and $bootloaders{$bootloader}->(); #- at least one method - grep_each { $::b } %{$b->{methods}} or return; + grep_each { $::b } %{$b->{methods}} or return 0; $b->{use_partition} = $silo_install_lang eq _("First sector of drive (MBR)") ? 0 : 1; $b->{vga} = $bootloader::vga_modes{$b->{vga}} || $b->{vga}; @@ -206,7 +206,7 @@ sub setupBootloader { bootloader::add_append($b, "mem", $memsize); } - $ask_per_entries or return; + $ask_per_entries or return 1; while (1) { $in->set_help(arch() =~ /sparc/ ? 'setupSILOAddEntry' : arch() =~ /ppc/ ? 'setupYabootAddEntry' : 'setupBootloaderAddEntry') unless $::isStandalone; -- cgit v1.2.1