From f336bff553315d434c6b20b535d89f87edf039ee Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Tue, 8 Sep 2009 17:11:20 -0500
Subject: linhes-config: stop a service before removing it.

---
 abs/core-testing/LinHES-config/PKGBUILD     | 2 +-
 abs/core-testing/LinHES-config/mv_common.py | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD
index 31b9ffb..0690ade 100644
--- a/abs/core-testing/LinHES-config/PKGBUILD
+++ b/abs/core-testing/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-config
 pkgver=2.0
-pkgrel=96
+pkgrel=97
 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev )
 pkgdesc="Install and configure your system"
 depends=(bc libstatgrab  mysql-python expect curl dnsutils parted 
diff --git a/abs/core-testing/LinHES-config/mv_common.py b/abs/core-testing/LinHES-config/mv_common.py
index f18e02b..a492597 100755
--- a/abs/core-testing/LinHES-config/mv_common.py
+++ b/abs/core-testing/LinHES-config/mv_common.py
@@ -44,6 +44,7 @@ def add_service(daemon):
 
 def remove_service(daemon):
     logging.info("    Removing service %s",daemon)
+    stop_service(daemon)
     cmd = "remove_service.sh %s" %daemon
     runcmd(cmd)
 
-- 
cgit v0.12