From 12618c91e5bb9cc8fbfe8911f930927ac66068cb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 24 Jan 2008 01:55:34 +0000 Subject: [PATCH] - invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep Changed files: gcc2.spec -> 1.41 --- gcc2.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc2.spec b/gcc2.spec index 372c503..80eba6e 100644 --- a/gcc2.spec +++ b/gcc2.spec @@ -411,11 +411,11 @@ rm -rf $RPM_BUILD_ROOT %postun chill -p /sbin/postshell -/usr/sbin/fix-info-dir -c %{_infodir} -%post -n cpp2 -[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 +%post -n cpp2 -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} -%postun -n cpp2 -[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 +%postun -n cpp2 -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} %post -p /sbin/ldconfig -n libstdc++2 %postun -p /sbin/ldconfig -n libstdc++2 -- 2.43.0