From 13cda940b116339e3d5b5f27e73ad3f8dd2554e9 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Mon, 22 Mar 2010 09:22:11 -0500
Subject: monitorix: fix sed statement for changing config file.  Was missing a
 ; at the end of the statement.

closes #661
---
 abs/extra-testing/monitorix/PKGBUILD          | 2 +-
 abs/extra-testing/monitorix/monitorix.install | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/abs/extra-testing/monitorix/PKGBUILD b/abs/extra-testing/monitorix/PKGBUILD
index af69d47..e73fcd1 100644
--- a/abs/extra-testing/monitorix/PKGBUILD
+++ b/abs/extra-testing/monitorix/PKGBUILD
@@ -2,7 +2,7 @@
 
 pkgname=monitorix
 pkgver=1.4.2
-pkgrel=7
+pkgrel=8
 pkgdesc='A lightweight system monitoring tool that uses rrd databases.'
 arch=(i686)
 url=http://www.$pkgname.org/
diff --git a/abs/extra-testing/monitorix/monitorix.install b/abs/extra-testing/monitorix/monitorix.install
index d7fb1c4..6c1d1bd 100644
--- a/abs/extra-testing/monitorix/monitorix.install
+++ b/abs/extra-testing/monitorix/monitorix.install
@@ -25,6 +25,6 @@ post_upgrade() {
 
 post_install(){
     . /etc/systemconfig
-    sed -i "s/^our \$HOSTNAME.*$/our \$HOSTNAME = \"${hostname}\"/" /etc/monitorix.conf|
+    sed -i "s/^our \$HOSTNAME.*$/our \$HOSTNAME = \"${hostname}\"\; /" /etc/monitorix.conf|
     post_upgrade
 }
-- 
cgit v0.12