From e3760090e5171933e882243165cc9904b6411081 Mon Sep 17 00:00:00 2001 From: Mads Kiilerich Date: Thu, 27 Oct 2011 17:09:01 +0200 Subject: [PATCH] move comments for the hack for upgrading from grub2 < 1.99-4 so they appear in the right place --- grub2.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/grub2.spec b/grub2.spec index c8552e2..bdfef89 100644 --- a/grub2.spec +++ b/grub2.spec @@ -232,11 +232,12 @@ if [ "$1" = 1 ]; then /sbin/install-info --info-dir=%{_infodir} %{_infodir}/grub2-dev.info.gz || : fi +%triggerun -- grub2 < 1:1.99-4 # grub2 < 1.99-4 removed a number of essential files in postun. To fix upgrades # from the affected grub2 packages, we first back up the files in triggerun and # later restore them in triggerpostun. # https://bugzilla.redhat.com/show_bug.cgi?id=735259 -%triggerun -- grub2 < 1:1.99-4 + # Back up the files before uninstalling old grub2 mkdir -p /boot/grub2.tmp && mv -f /boot/grub2/*.mod \