[packages/grub2] - merge triggers for rpm.org

qboosh qboosh at pld-linux.org
Sat Jun 12 06:37:50 CEST 2021


commit 701e14fb913dd219d775d9558526bbcffc249893
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jun 12 06:40:42 2021 +0200

    - merge triggers for rpm.org

 grub2.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/grub2.spec b/grub2.spec
index f3e2658..a4d995f 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -643,15 +643,15 @@ rm -rf $RPM_BUILD_ROOT
 %triggerpostun -- %{name} < 2.00-2
 # Note this trigger on version upgrade needed only for upgrade from
 # old grub2 packages which contained modules in /boot/grub
-# or were built with optimizations enabled
-# don't do anything on --downgrade
+# or were built with optimizations enabled.
+# Don't do anything on --downgrade.
 if [ $1 -le 1 ]; then
 	exit 0
 fi
 echo "Grub was upgraded, trying to setup it to boot sector"
 /sbin/grub-install '(hd0)' || :
 
-%triggerpostun -- %{name} < 1.99-7.3
+# -- %{name} < 1.99-7.3
 # migrate /etc/grub.d/custom.cfg.rpmsave  -> /boot/grub/custom.cfg
 if [ -f %{_sysconfdir}/grub.d/custom.cfg.rpmsave ]; then
 	cp -f %{_grubdir}/custom.cfg{,.rpmnew}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/grub2.git/commitdiff/701e14fb913dd219d775d9558526bbcffc249893



More information about the pld-cvs-commit mailing list