summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-05-13 22:22:23 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-05-13 22:22:23 (GMT)
commitf9dd982fcb0798475de7e99dcbe2cf8046c148ce (patch)
tree1a7d4d9e87d35578d0206f05f445479700180ec5
parent6b3b0ad88dec16f48cd553817bb881967dcfd22d (diff)
downloadlinhes_pkgbuild-f9dd982fcb0798475de7e99dcbe2cf8046c148ce.zip
linhes_pkgbuild-f9dd982fcb0798475de7e99dcbe2cf8046c148ce.tar.gz
linhes_pkgbuild-f9dd982fcb0798475de7e99dcbe2cf8046c148ce.tar.bz2
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.
-rw-r--r--abs/core/LinHES-config/PKGBUILD4
-rw-r--r--abs/core/LinHES-config/myth_settings_wrapper.sh4
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
;;