diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-02-10 23:48:28 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-02-18 00:22:35 +0100 |
commit | f55d0d5edd7fb54198d43f64419291b93dca2346 (patch) | |
tree | 32b9167438107e4cd58a72661f1c4b5cdac386d6 /perl-install/standalone/bootloader-config | |
parent | aee1d3319b2a7901e799c41cd9a6b2de91dea5b8 (diff) | |
download | drakx-f55d0d5edd7fb54198d43f64419291b93dca2346.tar drakx-f55d0d5edd7fb54198d43f64419291b93dca2346.tar.gz drakx-f55d0d5edd7fb54198d43f64419291b93dca2346.tar.bz2 drakx-f55d0d5edd7fb54198d43f64419291b93dca2346.tar.xz drakx-f55d0d5edd7fb54198d43f64419291b93dca2346.zip |
just let grub2-mkconfig do its job for grub2
remaining issue: we're calling update-grub2 too early, in kernel's
%preun instead of its %postun... (mga#16268)
Diffstat (limited to 'perl-install/standalone/bootloader-config')
-rwxr-xr-x | perl-install/standalone/bootloader-config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/bootloader-config b/perl-install/standalone/bootloader-config index e61dbd453..187ca3eed 100755 --- a/perl-install/standalone/bootloader-config +++ b/perl-install/standalone/bootloader-config @@ -98,7 +98,7 @@ sub remove_kernel() { return; } - remove_kernel_generic(); + remove_kernel_generic() if bootloader::main_method($bootloader->{method}) ne 'grub2'; modify_bootloader(); } |