summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2008-01-24 01:23:02 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitde859f2a84ec00c11e69c793daaa344e9d4510ab (patch)
treef3830d5e4450abe0dabe024663ad0da1fc8c21da
parent409bbb1673a68c7140ad1be77e67fc2b33654af6 (diff)
downloaduucp-de859f2a84ec00c11e69c793daaa344e9d4510ab.zip
uucp-de859f2a84ec00c11e69c793daaa344e9d4510ab.tar.gz
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh depauto/ac/uucp-1_07-4AC-branch
Changed files: uucp.spec -> 1.55
-rw-r--r--uucp.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/uucp.spec b/uucp.spec
index 5817299..316d7dc 100644
--- a/uucp.spec
+++ b/uucp.spec
@@ -155,14 +155,14 @@ done
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
%post server
%service -q rc-inetd reload
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
%postun server
if [ "$1" = 0 ]; then