summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config
diff options
context:
space:
mode:
authorGreg Frost <gregfrost1@bigpond.com>2009-10-19 12:54:10 (GMT)
committerGreg Frost <gregfrost1@bigpond.com>2009-10-19 12:54:10 (GMT)
commitad0b065725b57ac975faf368aa538232f5bfea79 (patch)
treec9eb4ac2b3d272b4d80a744bb73ec8284445ef92 /abs/core-testing/LinHES-config
parente83014834bac090d027de06e722ce2042cf7f951 (diff)
downloadlinhes_pkgbuild-ad0b065725b57ac975faf368aa538232f5bfea79.zip
linhes_pkgbuild-ad0b065725b57ac975faf368aa538232f5bfea79.tar.gz
linhes_pkgbuild-ad0b065725b57ac975faf368aa538232f5bfea79.tar.bz2
LinHES-config: use pacman to install ddclient when DDNS is selected
Diffstat (limited to 'abs/core-testing/LinHES-config')
-rw-r--r--abs/core-testing/LinHES-config/PKGBUILD2
-rwxr-xr-xabs/core-testing/LinHES-config/mv_ddns.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD
index cb8f8f3..591d042 100644
--- a/abs/core-testing/LinHES-config/PKGBUILD
+++ b/abs/core-testing/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-config
pkgver=2.1
-pkgrel=2
+pkgrel=3
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_ddns.py b/abs/core-testing/LinHES-config/mv_ddns.py
index 8c05fbe..e43a7ce 100755
--- a/abs/core-testing/LinHES-config/mv_ddns.py
+++ b/abs/core-testing/LinHES-config/mv_ddns.py
@@ -9,6 +9,8 @@ def setup_ddns(systemconfig):
if systemconfig["DDnsEnable"] == "1":
logging.debug(" Enabling DDNS")
+ cmd = ''' pacman --noconfirm -Sf ddclient '''
+ mv_common.runcmd(cmd)
mv_common.cp_and_log("/etc/ddclient/ddclient.conf.dynamic.dyndns.sample",
"/etc/ddclient/ddclient.conf")
cmd = ''' sed -i -e "s/your-dynamic-dyndns-login/%s/g" /etc/ddclient/ddclient.conf''' %(systemconfig["DDnslogin"])