From f55d0d5edd7fb54198d43f64419291b93dca2346 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 10 Feb 2016 23:48:28 +0100 Subject: 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) --- perl-install/standalone/bootloader-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/bootloader-config') 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(); } -- cgit v1.2.1