]> git.pld-linux.org Git - packages/3DLDF.git/blobdiff - 3DLDF.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/3DLDF.git] / 3DLDF.spec
index 0430fb8cc86327c758dc602ca6a32c7259e7d563..a0c69e642e7821fe2a1393a287bcb1dc8ca74943 100644 (file)
@@ -42,11 +42,11 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_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 %{_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.556037 seconds and 4 git commands to generate.