- also fix the prior lockfile, so we get e.g. condrestart right
This commit is contained in:
parent
418e775528
commit
806c655d75
@ -1,7 +1,7 @@
|
||||
Summary: SELinux Translation Daemon
|
||||
Name: mcstrans
|
||||
Version: 0.1.8
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: GPL
|
||||
Group: System Environment/Daemons
|
||||
Source: http://fedora.redhat.com/projects/%{name}-%{version}.tgz
|
||||
@ -50,6 +50,9 @@ rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
chkconfig --add mcstrans
|
||||
if [ -f /var/lock/subsys/mcstransd ]; then
|
||||
mv /var/lock/subsys/mcstransd /var/lock/subsys/mcstrans
|
||||
fi
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ]; then
|
||||
@ -69,7 +72,7 @@ fi
|
||||
%{_sysconfdir}/rc.d/init.d/mcstrans
|
||||
|
||||
%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
|
||||
|
||||
* Wed Aug 23 2006 Dan Walsh <dwalsh@redhat.com> 0.1.8-1
|
||||
|
Loading…
Reference in New Issue
Block a user