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

libgtop.spec

index 4cce162959cc2213d7caa0eb5375a4069e7790d5..403d96669df01137fd91e5500454abd11516b65f 100644 (file)
@@ -195,11 +195,11 @@ rm -rf $RPM_BUILD_ROOT
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
 
-%post devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post devel    -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun devel  -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
This page took 0.031607 seconds and 4 git commands to generate.