]> git.pld-linux.org Git - packages/cftp.git/blobdiff - cftp.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/cftp.git] / cftp.spec
index c9a85cf019e10db4bc98914dba2d3ef55777455d..d9e36f5bb0c0be405267dba73cb9f8a11f2f1193 100644 (file)
--- a/cftp.spec
+++ b/cftp.spec
@@ -53,11 +53,11 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post  -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun        -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
This page took 0.12741 seconds and 4 git commands to generate.