summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/bootloader.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index c41207a61..bf73442f0 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -860,8 +860,8 @@ sub method_choices_raw() {
arch() =~ /ppc/ ? 'yaboot' :
arch() =~ /ia64/ ? 'lilo' :
(
- if_(whereis_binary('lilo'), 'lilo-graphic', 'lilo-menu'),
- if_(whereis_binary('grub'), 'grub'),
+ if_(whereis_binary('lilo', $::prefix), 'lilo-graphic', 'lilo-menu'),
+ if_(whereis_binary('grub', $::prefix), 'grub'),
);
}
sub method_choices {