]> git.pld-linux.org Git - packages/esh.git/blobdiff - esh.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/esh.git] / esh.spec
index 20b3eb6b55d0780e30ab4be71d99379f84e38365..814034164a8d4c8ecd7a2d246585b2809013afbc 100644 (file)
--- a/esh.spec
+++ b/esh.spec
@@ -1,5 +1,5 @@
 Summary:       esh, the easy shell
-Summary(pl.UTF-8):   esh - prosta powłoka
+Summary(pl.UTF-8):     esh - prosta powłoka
 Name:          esh
 Version:       0.8.5
 Release:       1
@@ -44,11 +44,11 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_infodir}}
 install esh $RPM_BUILD_ROOT%{_bindir}
 install doc/esh.info $RPM_BUILD_ROOT%{_infodir}
 
-%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}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.067062 seconds and 4 git commands to generate.