summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/mv_common.py
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-09-23 18:44:08 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-09-23 18:44:08 (GMT)
commit048e83695f2b4cb9ddc118e128a7d08f7d48e651 (patch)
tree2a4844ed9e01a42f5a7d344f531a71b6d30a1b20 /abs/core/LinHES-config/mv_common.py
parente36902486689cd6a12947fb1c8d3e01712b726b8 (diff)
downloadlinhes_pkgbuild-048e83695f2b4cb9ddc118e128a7d08f7d48e651.zip
linhes_pkgbuild-048e83695f2b4cb9ddc118e128a7d08f7d48e651.tar.gz
linhes_pkgbuild-048e83695f2b4cb9ddc118e128a7d08f7d48e651.tar.bz2
LinHES-config: ensure that xymonserver is installed after upgrades. This requires a --dbonly pacman call and then later a normal pacman install. This was needed because after upgrades /home/xymon is still on the FS and the xymonserver package failed to to install because of it
Diffstat (limited to 'abs/core/LinHES-config/mv_common.py')
-rwxr-xr-xabs/core/LinHES-config/mv_common.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/abs/core/LinHES-config/mv_common.py b/abs/core/LinHES-config/mv_common.py
index a1b3bef..1cb761e 100755
--- a/abs/core/LinHES-config/mv_common.py
+++ b/abs/core/LinHES-config/mv_common.py
@@ -216,6 +216,10 @@ def pacinstall(pkg):
pacinstall("dolphin-emu")
elif pkg == "webonlinhes":
pacinstall("web-on-linhes")
+ elif pkg == "xymonclient":
+ if os.path.exists('/home/xymon/client'):
+ cmd='''pacman --noconfirm --dbonly -Sddf xymonclient'''
+ mv_common.runcmd(cmd)
if not pkg_blacklist_check(pkg):
if pkg_installed_check(pkg):