]> git.pld-linux.org Git - packages/libtool.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:23:00 +0000 (01:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libtool.spec -> 1.157

libtool.spec

index 64920ad8e3af059687edf094f118a51e551086c7..a646cba39ec0b2af25d77c0a7149e8a38fa73287 100644 (file)
@@ -183,11 +183,11 @@ cp -a demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 %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}
 
 %post   -n libltdl -p /sbin/ldconfig
 %postun -n libltdl -p /sbin/ldconfig
This page took 0.051179 seconds and 4 git commands to generate.