From 539a15599c5c5197964dcab33708c268be8eaee5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 24 Jan 2008 01:36:30 +0000 Subject: [PATCH] - invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep Changed files: esh.spec -> 1.28 --- esh.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/esh.spec b/esh.spec index 640a141..8140341 100644 --- a/esh.spec +++ b/esh.spec @@ -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 -- 2.43.0