Older PLD grub2 packages contained the grub modules in /boot/grub.
After upgrade the installed bootloader would not match the modules
in /boot/grub and fail. When upgrading those old packages to the
new >=2.00 packages the modules in /boot/grub would be completly
missing, causing the same problem.
So the trigger must stay for upgrade from packages <2.00, but is not
needed for future upgrades.
%postun -p %{_sbindir}/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
-%triggerpostun -- %{name} < %{version}-0
+%triggerpostun -- %{name} < 2.00-0.1
# Note this trigger on version upgrade
+# needed only for upgrade from old grub2 packages
+# which contained modules in /boot/grub
# don't do anything on --downgrade
if [ $1 -le 1 ]; then
exit 0