diff options
author | Jonathan Gotti <jgotti@mandriva.com> | 2002-08-02 14:55:08 +0000 |
---|---|---|
committer | Jonathan Gotti <jgotti@mandriva.com> | 2002-08-02 14:55:08 +0000 |
commit | ef1b357a7e0e42903da20e2cfc453b781b2626ed (patch) | |
tree | 7da517b048df26e1d551a88e7342c8613afa2a78 /perl-install/standalone | |
parent | 2e85aae1209b336df1a63329d9094f6b02fda18a (diff) | |
download | drakx-ef1b357a7e0e42903da20e2cfc453b781b2626ed.tar drakx-ef1b357a7e0e42903da20e2cfc453b781b2626ed.tar.gz drakx-ef1b357a7e0e42903da20e2cfc453b781b2626ed.tar.bz2 drakx-ef1b357a7e0e42903da20e2cfc453b781b2626ed.tar.xz drakx-ef1b357a7e0e42903da20e2cfc453b781b2626ed.zip |
minor bugfix in calling bootloader::read
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakboot | 3 |
1 files changed, 2 insertions, 1 deletions
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) }; |