From 12bac695f4c247f3a6eec420bd9aea4a536c2df1 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Mon, 25 Jul 2005 14:04:38 +0000 Subject: [PATCH] - Use 'condrestart' not 'restart' in %post scriptlet. --- hplip.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hplip.spec b/hplip.spec index 055a8a3..65484ca 100644 --- a/hplip.spec +++ b/hplip.spec @@ -119,7 +119,7 @@ rm -rf %{buildroot} %post /sbin/chkconfig --add hplip || : if [ "$1" == "1" ]; then - /sbin/service hplip restart >/dev/null 2>&1 || : + /sbin/service hplip condrestart >/dev/null 2>&1 || : fi exit 0 @@ -137,6 +137,9 @@ if ! grep ^hpaio /etc/sane.d/dll.conf >/dev/null 2>/dev/null ; then \ fi %changelog +* Mon Jul 25 2005 Tim Waugh +- Use 'condrestart' not 'restart' in %%post scriptlet. + * Fri Jul 22 2005 Tim Waugh 0.9.4-1 - forward-decl patch not needed. - 0.9.4.