From 4a452533f506852445a212e90b168b8d6bafc9c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 24 Jan 2008 01:36:33 +0000 Subject: [PATCH] - invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep Changed files: ocaml.spec -> 1.117 --- ocaml.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ocaml.spec b/ocaml.spec index 71e4602..eb72078 100644 --- a/ocaml.spec +++ b/ocaml.spec @@ -410,11 +410,11 @@ done %clean rm -rf $RPM_BUILD_ROOT -%post doc-info -[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 +%post doc-info -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} -%postun doc-info -[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 +%postun doc-info -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} %files %defattr(644,root,root,755) -- 2.43.0