]> git.pld-linux.org Git - packages/bc.git/blobdiff - bc.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/bc.git] / bc.spec
diff --git a/bc.spec b/bc.spec
index 4f1e84786e341eb79eb7a05c4557fb1cf3c33eed..d76ba8939bfae3abe99f39c8561e40de7e100b61 100644 (file)
--- a/bc.spec
+++ b/bc.spec
@@ -115,11 +115,11 @@ install %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}
 %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.042653 seconds and 4 git commands to generate.