summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-05-20 09:47:03 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-05-20 09:47:03 +0000
commit9146ab96a3ba40c78ea80155f85085b1787e0090 (patch)
treede5ee9f7632ebb640c077feae8c022eadcfa2de2 /perl-install/bootloader.pm
parent1a375e61453fc7d7a32fbdc475f84a8b908a5847 (diff)
downloaddrakx-9146ab96a3ba40c78ea80155f85085b1787e0090.tar
drakx-9146ab96a3ba40c78ea80155f85085b1787e0090.tar.gz
drakx-9146ab96a3ba40c78ea80155f85085b1787e0090.tar.bz2
drakx-9146ab96a3ba40c78ea80155f85085b1787e0090.tar.xz
drakx-9146ab96a3ba40c78ea80155f85085b1787e0090.zip
for whatever reason, the second part of detect_bootloader()
consolidation didn't make up into the cvs
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index c685b86d1..351ab705b 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -612,7 +612,7 @@ sub method_choices {
),
);
my $prefered;
- $prefered ||= 'grub' if $::isStandalone && run_program::rooted_get_stdout($::prefix, 'detectloader') =~ /GRUB/;
+ $prefered ||= 'grub' if $::isStandalone && detect_bootloader() =~ /GRUB/;
$prefered ||= 'lilo-' . (member($bootloader->{install}, 'text', 'menu', 'graphic') ? $bootloader->{install} : 'graphic');
my $default = exists $choices{$prefered} ? $prefered : first(keys %choices);