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

help2man.spec

index f2d04754580535a1d103f1fc1ade66542e8126df..dc2fc205a8e556e8bfd691d31c7e845148de2750 100644 (file)
@@ -56,11 +56,11 @@ rm -rf $RPM_BUILD_ROOT
 %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}
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
This page took 0.084978 seconds and 4 git commands to generate.