From 2ba305bbeebc354e53930b72f9a757dde0e9db31 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 31 Jan 2011 18:21:18 +0100 Subject: [PATCH] suppress install-info errors --- chrony.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chrony.spec b/chrony.spec index 02f1458..6db1043 100644 --- a/chrony.spec +++ b/chrony.spec @@ -94,7 +94,7 @@ getent passwd chrony > /dev/null || /usr/sbin/useradd -r -g chrony \ /sbin/chkconfig chronyd &> /dev/null && /bin/systemctl enable chronyd.service &> /dev/null || /bin/systemctl daemon-reload &> /dev/null -/sbin/install-info %{_infodir}/chrony.info.gz %{_infodir}/dir +/sbin/install-info %{_infodir}/chrony.info.gz %{_infodir}/dir &> /dev/null : %preun @@ -102,7 +102,8 @@ if [ "$1" -eq 0 ]; then /sbin/service chronyd stop &> /dev/null /sbin/chkconfig --del chronyd /bin/systemctl disable chronyd.service &> /dev/null - /sbin/install-info --delete %{_infodir}/chrony.info.gz %{_infodir}/dir + /sbin/install-info --delete %{_infodir}/chrony.info.gz \ + %{_infodir}/dir &> /dev/null fi :