- Use 'condrestart' not 'restart' in %post scriptlet.

This commit is contained in:
Tim Waugh 2005-07-25 14:04:38 +00:00
parent 0399c94ebf
commit 12bac695f4

View File

@ -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 <twaugh@redhat.com>
- Use 'condrestart' not 'restart' in %%post scriptlet.
* Fri Jul 22 2005 Tim Waugh <twaugh@redhat.com> 0.9.4-1
- forward-decl patch not needed.
- 0.9.4.