]> git.pld-linux.org Git - packages/fftw.git/blobdiff - fftw.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/fftw.git] / fftw.spec
index c9d151d482d419ddf33e49033f41aa54dddeb2aa..27af278f8aa95c21b0726624236e816dc25c8c91 100644 (file)
--- a/fftw.spec
+++ b/fftw.spec
@@ -177,11 +177,11 @@ rm -rf $RPM_BUILD_ROOT
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
 
-%post devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post devel    -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun devel  -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %post  single -p /sbin/ldconfig
 %postun        single -p /sbin/ldconfig
This page took 0.091435 seconds and 4 git commands to generate.