summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-03-22 14:22:11 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-03-22 14:22:11 (GMT)
commit13cda940b116339e3d5b5f27e73ad3f8dd2554e9 (patch)
tree10197438b2361bf11e928320c0bdd9c438b823a7
parent31007c25c064530527c8c5c48739601e4333798e (diff)
downloadlinhes_pkgbuild-13cda940b116339e3d5b5f27e73ad3f8dd2554e9.zip
linhes_pkgbuild-13cda940b116339e3d5b5f27e73ad3f8dd2554e9.tar.gz
linhes_pkgbuild-13cda940b116339e3d5b5f27e73ad3f8dd2554e9.tar.bz2
monitorix: fix sed statement for changing config file. Was missing a ; at the end of the statement.
closes #661
-rw-r--r--abs/extra-testing/monitorix/PKGBUILD2
-rw-r--r--abs/extra-testing/monitorix/monitorix.install2
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
}