diff options
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 7ca1fdbf5..9e7516658 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1253,14 +1253,14 @@ sub method_choices_raw { detect_devices::is_xbox() ? 'cromwell' : arch() =~ /mips/ ? 'pmon2000' : arch() =~ /arm/ ? 'uboot' : - ( if_(!$b_prefix_mounted || whereis_binary('grub2-reboot', $::prefix), 'grub2'), + if_(!is_uefi(), ( if_(!$b_prefix_mounted || whereis_binary('grub', $::prefix), 'grub-graphic', 'grub-menu'), if_(!$b_prefix_mounted || whereis_binary('lilo', $::prefix), 'lilo-menu'), - ); + )); } sub method_choices { my ($all_hds, $b_prefix_mounted) = @_; |