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