summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD5
-rw-r--r--thruk.install7
3 files changed, 5 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3809ebccdc8c..92948d0cf86c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
# Generated by mksrcinfo v8
-# Thu May 4 11:59:09 UTC 2017
+# Thu May 4 14:30:13 UTC 2017
pkgbase = thruk
pkgdesc = Multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken
pkgver = 2.14
- pkgrel = 1
+ pkgrel = 2
url = http://thruk.org
- install = thruk.install
arch = any
license = GPL2
depends = perl
diff --git a/PKGBUILD b/PKGBUILD
index e2cc7a7dde30..45b6881a0d82 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=thruk
pkgver=2.14
-pkgrel=1
+pkgrel=2
pkgdesc="Multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken"
arch=('any')
url="http://thruk.org"
@@ -17,7 +17,6 @@ backup=('etc/thruk/cgi.cfg' 'etc/thruk/htpasswd'
'etc/thruk/log4perl.conf' 'etc/thruk/menu_local.conf'
'etc/thruk/naglint.conf' 'etc/httpd/conf/extra/thruk.conf'
'etc/thruk/thruk_local.conf' 'etc/thruk/thruk.conf')
-install=$pkgname.install
source=(http://download.thruk.org/pkg/v$pkgver/src/$pkgname-$pkgver.tar.gz)
md5sums=('ac36a64794e6f44fe34d03473b616875')
@@ -47,4 +46,6 @@ package() {
make DESTDIR="$pkgdir"/ install
install -Dm644 support/apache_fcgid.conf "$pkgdir"/etc/httpd/conf/extra/$pkgname.conf
+
+ chown -R 33:33 "$pkgdir"/var/lib/thruk/ "$pkgdir"/var/log/thruk/
}
diff --git a/thruk.install b/thruk.install
deleted file mode 100644
index 2d1fe9216f7e..000000000000
--- a/thruk.install
+++ /dev/null
@@ -1,7 +0,0 @@
-post_install() {
- chown -R 33:33 /var/lib/thruk/ /var/log/thruk/
-}
-
-post_upgrade() {
- post_install
-}