summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-09-08 22:11:20 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-09-08 22:11:20 (GMT)
commitf336bff553315d434c6b20b535d89f87edf039ee (patch)
treedccbd7ab1d68f5c8806ae5a71da085b5e5a98817 /abs
parenta22d235cd404f34ea89928c3bbda656a59e270e0 (diff)
downloadlinhes_pkgbuild-f336bff553315d434c6b20b535d89f87edf039ee.zip
linhes_pkgbuild-f336bff553315d434c6b20b535d89f87edf039ee.tar.gz
linhes_pkgbuild-f336bff553315d434c6b20b535d89f87edf039ee.tar.bz2
linhes-config: stop a service before removing it.
Diffstat (limited to 'abs')
-rw-r--r--abs/core-testing/LinHES-config/PKGBUILD2
-rwxr-xr-xabs/core-testing/LinHES-config/mv_common.py1
2 files changed, 2 insertions, 1 deletions
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)