]> git.pld-linux.org Git - packages/gcc2.git/blobdiff - gcc2.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/gcc2.git] / gcc2.spec
index 20faaf948aaf4ce997bb84f553142c11df07d9e1..372c5032acf024a133e4eab276bf6d4a9ef25a27 100644 (file)
--- a/gcc2.spec
+++ b/gcc2.spec
@@ -399,17 +399,17 @@ rm -rf $RPM_BUILD_ROOT
 %postun        -p      /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%post g77
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post g77      -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun g77
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun g77    -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%post chill
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post chill    -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun chill
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun chill  -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %post -n cpp2
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
This page took 0.548806 seconds and 4 git commands to generate.