summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-09-27 05:08:19 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-09-27 05:08:19 (GMT)
commitc84172505058980b3d952561241dbd16bbd93b04 (patch)
treebb096137d4375de45267d5b42f598f800d0a8a3b
parentaeb0197b0731ae769b1aae8394eb6fc650757cdf (diff)
downloadlinhes_pkgbuild-c84172505058980b3d952561241dbd16bbd93b04.zip
linhes_pkgbuild-c84172505058980b3d952561241dbd16bbd93b04.tar.gz
linhes_pkgbuild-c84172505058980b3d952561241dbd16bbd93b04.tar.bz2
LinHES-config: adjust for new msg_client.py syntax
-rwxr-xr-xabs/core/LinHES-config/PKGBUILD4
-rwxr-xr-xabs/core/LinHES-config/backend_control.sh12
2 files changed, 8 insertions, 8 deletions
diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index 32b397c..0b862f8 100755
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-config
pkgver=2.3
-pkgrel=152
+pkgrel=153
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'
@@ -169,4 +169,4 @@ md5sums=('70ea19d41cf33ec8ae26c4e8cb5cd240'
'6ec39b010c0ed8901ea896c7e153d330'
'3866086e6af5e3528a66eff492f2f4dd'
'c9279fa095af624ee3d9bc75d3328360'
- 'a0df3d90e4a0da6781e45414a5f1b754')
+ '02cf69074d2bbacef05fa3e451af9af3')
diff --git a/abs/core/LinHES-config/backend_control.sh b/abs/core/LinHES-config/backend_control.sh
index 07ff162..bbc7362 100755
--- a/abs/core/LinHES-config/backend_control.sh
+++ b/abs/core/LinHES-config/backend_control.sh
@@ -15,13 +15,13 @@ case $COMMAND in
if [ $rc != 0 ]
then
- lh_message.sh "Could not stop the backend."
+ msg_client.py --msg "Could not stop the backend."
else
echo "$MESSAGE" | grep -q "'$hostname': 'Message delivered'"
rc=$?
if [ $rc != 0 ]
then
- msg_client.py "* Backend Stopped" > /dev/null
+ msg_client.py --msg "* Backend Stopped" > /dev/null
fi
fi
;;
@@ -31,13 +31,13 @@ case $COMMAND in
rc=$?
if [ $rc != 0 ]
then
- lh_message.sh "Could not start the backend"
+ msg_client.py --msg "Could not start the backend"
else
echo "$MESSAGE" | grep -q "'$hostname': 'Message delivered'"
rc=$?
if [ $rc != 0 ]
then
- msg_client.py "* Backend Started" > /dev/null
+ msg_client.py --msg "* Backend Started" > /dev/null
fi
fi
;;
@@ -53,13 +53,13 @@ case $COMMAND in
rc=$?
if [ $rc != 0 ]
then
- lh_message.sh "Could not clear the cache"
+ msg_client.py --msg "Could not clear the cache"
else
echo "$MESSAGE" | grep -q "'$hostname': 'Message delivered'"
rc=$?
if [ $rc != 0 ]
then
- msg_client.py "* cache cleared" > /dev/null
+ msg_client.py --msg "* cache cleared" > /dev/null
fi
fi
esac