summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
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 b6f9fcff1..a70c51f9a 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1835,7 +1835,6 @@ sub write_grub2 {
log::l("error while running grub2-set-default: $err");
}
check_enough_space();
- write_grub2_install_sh($bootloader, $o_backup_extension);
}
sub get_grub2_install_sh() {
@@ -2049,6 +2048,7 @@ sub restore_previous_MBR_bootloader {
sub install_grub2 {
my ($bootloader, $all_hds) = @_;
write_grub2($bootloader, $all_hds);
+ write_grub2_install_sh($bootloader, $o_backup_extension);
install_raw_grub2();
}