From ef1b357a7e0e42903da20e2cfc453b781b2626ed Mon Sep 17 00:00:00 2001 From: Jonathan Gotti Date: Fri, 2 Aug 2002 14:55:08 +0000 Subject: minor bugfix in calling bootloader::read --- perl-install/standalone/drakboot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/drakboot b/perl-install/standalone/drakboot index d28369627..d1b1c02aa 100755 --- a/perl-install/standalone/drakboot +++ b/perl-install/standalone/drakboot @@ -36,7 +36,8 @@ goto ask; sub lilo_choice { - my $bootloader = arch() =~ /ppc/ ? bootloader::read('', '/etc/yaboot.conf') : bootloader::read('', '/etc/lilo.conf'); + my $bootloader = bootloader::read; + #- (no use since bootloader::read was modified) # arch() =~ /ppc/ ? bootloader::read('','/etc/yaboot.conf') : bootloader::read('','/etc/lilo.conf'); local ($_) = `detectloader`; $bootloader->{methods} = { lilo => 1, grub => !!/grub/i, if_(arch() =~ /ppc/, yaboot => 1) }; -- cgit v1.2.1