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.