]> git.pld-linux.org Git - packages/cftp.git/blobdiff - cftp.spec
- use macros in %{pre,post}{,un}
[packages/cftp.git] / cftp.spec
index d9ae02045737f2f64ffe50e6d9d246897894147b..0a01d3aa57101411c507960e84e58294cf11f3cf 100644 (file)
--- a/cftp.spec
+++ b/cftp.spec
@@ -49,10 +49,10 @@ gzip -9nf AUTHORS ChangeLog NEWS THANKS TODO
 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
 
 %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.063892 seconds and 4 git commands to generate.