summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-06-24 17:37:08 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-06-24 17:49:10 +0200
commit4c1cb5006360ccb780926000bd57f150e0fc8fbe (patch)
tree387b93c7b0d08c90d013dad426aa9928e9b46e25
parent7bb01fb038e0a882e755b963110bda381336b748 (diff)
downloaddrakx-4c1cb5006360ccb780926000bd57f150e0fc8fbe.tar
drakx-4c1cb5006360ccb780926000bd57f150e0fc8fbe.tar.gz
drakx-4c1cb5006360ccb780926000bd57f150e0fc8fbe.tar.bz2
drakx-4c1cb5006360ccb780926000bd57f150e0fc8fbe.tar.xz
drakx-4c1cb5006360ccb780926000bd57f150e0fc8fbe.zip
simplify after previous commit
-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 61d69627e..199ddf293 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -1906,7 +1906,7 @@ sub write_grub2_default_entry {
}
sub write_grub2 {
- my ($bootloader, $o_all_hds, $o_backup_extension) = @_;
+ my ($o_backup_extension) = @_;
my $error;
my $f1 = "$::prefix/boot/grub2/grub.cfg";
@@ -2133,7 +2133,7 @@ sub restore_previous_MBR_bootloader {
sub install_grub2 {
my ($bootloader, $all_hds) = @_;
write_grub2_sysconfig($bootloader, $all_hds);
- write_grub2($bootloader, $all_hds);
+ write_grub2();
write_grub2_default_entry($bootloader, $all_hds);
write_grub2_install_sh($bootloader, '.old');
install_raw_grub2();