- Remove hplip service on upgrade.

This commit is contained in:
Tim Waugh 2007-07-20 14:47:14 +00:00
parent 8d8c1fb3d3
commit a6ae230f2e

View File

@ -27,7 +27,7 @@ Patch12: hplip-no-root-config.patch
Patch13: hplip-ui-optional.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Requires(post): /sbin/service
Requires(pre): /sbin/service
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/service
Requires(preun): /sbin/chkconfig
@ -254,6 +254,7 @@ rm -rf %{buildroot}
%pre
# No daemons any more.
/sbin/chkconfig --del hplip 2>/dev/null || true
if [ -x /etc/init.d/hplip ]; then
/sbin/service hplip stop
fi
@ -273,6 +274,9 @@ fi
exit 0
%changelog
* Fri Jul 20 2007 Tim Waugh <twaugh@redhat.com>
- Remove hplip service on upgrade.
* Fri Jul 20 2007 Tim Waugh <twaugh@redhat.com> 2.7.6-9
- Updated selinux-policy conflict for bug #249014.
- Fixed the udev rules file (bug #248740, bug #249025).