From f9dd982fcb0798475de7e99dcbe2cf8046c148ce Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sun, 13 May 2012 17:22:23 -0500
Subject: LinHES-config: myth_settings_wrapper.  Fix bug when setting the
 default access settings.  Previously the order of the arguments was wrong and
 inserted bad values into the database.

---
 abs/core/LinHES-config/PKGBUILD                 | 4 ++--
 abs/core/LinHES-config/myth_settings_wrapper.sh | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index 76773a2..22da3a3 100644
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-config
 pkgver=2.3
-pkgrel=74
+pkgrel=75
 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config )
 pkgdesc="Install and configure your system"
 depends=('bc' 'libstatgrab'  'mysql-python' 'expect' 'curl' 'dnsutils' 'parted'
@@ -114,7 +114,7 @@ md5sums=('18af4fe481e1fc2ae02050026eb5cd27'
          'c20f73d4da5d7e15e1f3eb85c7dcb49a'
          '68199e861c2933ccbb84735b9b440157'
          '9ae8d79f620c6d19973c55c32a921874'
-         '6aea8876ab690e0edf817fe6cb5b7abc'
+         '79579277e0545aeeb50fba403434194c'
          '960017a34d9cc78af6298f45aad6eb8e'
          'ecf9e5df20683a769c4a8a8f2d65de85'
          '6d32a88e76b0a97b0ce67d37ef6394aa'
diff --git a/abs/core/LinHES-config/myth_settings_wrapper.sh b/abs/core/LinHES-config/myth_settings_wrapper.sh
index bcba9d1..33f401f 100644
--- a/abs/core/LinHES-config/myth_settings_wrapper.sh
+++ b/abs/core/LinHES-config/myth_settings_wrapper.sh
@@ -233,14 +233,14 @@ case $OPERATION in
 
             for i in $LIST
             do
-                define_xml 1 $i settings $hostname
+                define_xml 1 $hostname settings $i
                 load_xml $gen_xml
             done
 
             LIST="HostaccesshostypeSystemtype Hostaccessuser"
             for i in $LIST
             do
-                define_xml 0 $i settings $hostname
+                define_xml 0 $hostname settings $i
                 load_xml $gen_xml
             done
             ;;
-- 
cgit v0.12

