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

texinfo.spec

index 90251a4ee385c32791628e9ce8e25d4508781313..e802c5ac7cc0c97ff60a9c8961b7e1879e82aae9 100644 (file)
@@ -214,11 +214,11 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_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 %{_infodir} >/dev/null 2>&1
+%postun        -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %post -n info
 /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
This page took 0.034876 seconds and 4 git commands to generate.