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