From 23b6ae2b795cd3f6b524da93b121bc048f30ad5d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 19:01:54 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- grub2.spec | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/grub2.spec b/grub2.spec index 7dc5e55..b86fb7d 100644 --- a/grub2.spec +++ b/grub2.spec @@ -284,12 +284,6 @@ elif [ -f /etc/grub.d/01_users ] && \ fi fi -%post tools -if [ "$1" = 1 ]; then - /sbin/install-info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz || : - /sbin/install-info --info-dir=%{_infodir} %{_infodir}/%{name}-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 @@ -315,12 +309,6 @@ mv -f /boot/grub2.tmp/*.mod \ /boot/grub2/ && rm -r /boot/grub2.tmp/ || : -%preun tools -if [ "$1" = 0 ]; then - /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz || : - /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info.gz || : -fi - %files common -f grub.lang %dir %{_libdir}/grub/ %dir %{_datarootdir}/grub/