summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Steel2017-05-04 15:29:33 +0100
committerJonathan Steel2017-05-04 15:30:33 +0100
commitfc32031d0ad41908c32104fd9f9e85e52e6c71ab (patch)
treebf0d3a5a20d44db58d6d9939865964c5cf419103
parent20c25e63d371bec5c8fde7d4e6f2a2bd3fe87529 (diff)
downloadaur-fc32031d0ad41908c32104fd9f9e85e52e6c71ab.tar.gz
Move the chown to the PKGBUILD
-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 3809ebccdc8..92948d0cf86 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 e2cc7a7dde3..45b6881a0d8 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 2d1fe9216f7..00000000000
--- 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
-}