]> git.pld-linux.org Git - packages/grub.git/commitdiff
- use macros in %{pre,post}{,un}
authorsaq <saq@pld-linux.org>
Wed, 25 Jul 2001 16:30:45 +0000 (16:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- need rebuilt rpm (with new macros.pld) to build these

Changed files:
    grub.spec -> 1.31

grub.spec

index 10e7003a91a74525fd00b99bb718dc9c45866827..a473e41dd5acfe9ce093c54a62ee9095f1fcbe9e 100644 (file)
--- a/grub.spec
+++ b/grub.spec
@@ -93,11 +93,11 @@ gzip -9nf TODO BUGS NEWS ChangeLog docs/menu.lst
 rm -rf $RPM_BUILD_ROOT
 
 %post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%fix_info_dir
 [ ! -r /etc/sysconfig/rc-boot/grub_functions.sh ] || ln -sf /etc/sysconfig/rc-boot/grub_functions.sh /etc/sysconfig/rc-boot/functions.sh
 
 %postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%fix_info_dir
 
 %files
 %defattr(644,root,root,755)
This page took 0.030561 seconds and 4 git commands to generate.