- also fix the prior lockfile, so we get e.g. condrestart right

This commit is contained in:
Peter Jones 2006-09-13 17:28:44 +00:00
parent 418e775528
commit 806c655d75

View File

@ -1,7 +1,7 @@
Summary: SELinux Translation Daemon Summary: SELinux Translation Daemon
Name: mcstrans Name: mcstrans
Version: 0.1.8 Version: 0.1.8
Release: 2 Release: 3
License: GPL License: GPL
Group: System Environment/Daemons Group: System Environment/Daemons
Source: http://fedora.redhat.com/projects/%{name}-%{version}.tgz Source: http://fedora.redhat.com/projects/%{name}-%{version}.tgz
@ -50,6 +50,9 @@ rm -rf %{buildroot}
%post %post
chkconfig --add mcstrans chkconfig --add mcstrans
if [ -f /var/lock/subsys/mcstransd ]; then
mv /var/lock/subsys/mcstransd /var/lock/subsys/mcstrans
fi
%preun %preun
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
@ -69,7 +72,7 @@ fi
%{_sysconfdir}/rc.d/init.d/mcstrans %{_sysconfdir}/rc.d/init.d/mcstrans
%changelog %changelog
* Wed Sep 13 2006 Peter Jones <pjones@redhat.com> - 0.1.8-2 * Wed Sep 13 2006 Peter Jones <pjones@redhat.com> - 0.1.8-3
- Fix subsys locking in init script - Fix subsys locking in init script
* Wed Aug 23 2006 Dan Walsh <dwalsh@redhat.com> 0.1.8-1 * Wed Aug 23 2006 Dan Walsh <dwalsh@redhat.com> 0.1.8-1