From 806c655d75ee16a9699065df97e1c362a80bd4c6 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Wed, 13 Sep 2006 17:28:44 +0000 Subject: [PATCH] - also fix the prior lockfile, so we get e.g. condrestart right --- mcstrans.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mcstrans.spec b/mcstrans.spec index 3ca1545..f85c82f 100644 --- a/mcstrans.spec +++ b/mcstrans.spec @@ -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 - 0.1.8-2 +* Wed Sep 13 2006 Peter Jones - 0.1.8-3 - Fix subsys locking in init script * Wed Aug 23 2006 Dan Walsh 0.1.8-1