]> git.pld-linux.org Git - packages/gcc.git/commitdiff
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 24 Jan 2008 01:36:31 +0000 (01:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gcc.spec -> 1.513

gcc.spec

index dd38dd4b4423e89858acd0bc9c53d626ed07113f..0b2f4bb8bfec44cf91fd5332c74379407f878aff 100644 (file)
--- a/gcc.spec
+++ b/gcc.spec
@@ -1582,23 +1582,23 @@ rm -rf $RPM_BUILD_ROOT
 %postun        -p      /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%post ada
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post ada      -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun ada
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun ada    -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%post fortran
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post fortran  -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun fortran
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun fortran        -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%post java
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post java     -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun java
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun java   -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %post  -p /sbin/ldconfig -n libgcc
 %postun        -p /sbin/ldconfig -n libgcc
This page took 0.350452 seconds and 4 git commands to generate.