From 93769e773cb7d6e4ef2659fc4f8031bb0a3e6c09 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Mon, 19 Oct 2009 15:58:30 -0500
Subject: linhes-config: ddns: use the provided pkginstall command

---
 abs/core-testing/LinHES-config/PKGBUILD   | 2 +-
 abs/core-testing/LinHES-config/mv_ddns.py | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD
index a336bfd..72aa4d4 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=6
+pkgrel=8
 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 e43a7ce..7ac7d3a 100755
--- a/abs/core-testing/LinHES-config/mv_ddns.py
+++ b/abs/core-testing/LinHES-config/mv_ddns.py
@@ -9,8 +9,7 @@ def setup_ddns(systemconfig):
 
     if systemconfig["DDnsEnable"] == "1":
         logging.debug("    Enabling DDNS")
-	cmd = ''' pacman --noconfirm -Sf ddclient '''
-	mv_common.runcmd(cmd)
+	mv_common.pacinstall("ddclient")
 	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"])
-- 
cgit v0.12

