summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index fe9ec1db9..f4550c24d 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -224,7 +224,7 @@ sub setupBootloader {
setupBootloader__boot_bios_drive($in, $b, $all_hds->{hds}) or goto general;
{
local $::Wizard_finished = 1 if $::isStandalone;
- if ($b->{method} eq 'grub2') {
+ if (bootloader::main_method($b->{method}) eq 'grub2') {
setupBootloader__grub2($in, $b, $all_hds, $fstab) or goto general;
} else {
setupBootloader__entries($in, $b, $all_hds, $fstab) or goto general;