diff options
author | Jonathan Steel <jsteel@archlinux.org> | 2017-05-16 08:43:42 +0100 |
---|---|---|
committer | Jonathan Steel <jsteel@archlinux.org> | 2017-05-16 08:43:42 +0100 |
commit | 679640f802129af0a8e9a4b6f9f31ccfd86fa2f9 (patch) | |
tree | fcefd751814521734191bd5f4d6fb9f10e6c4799 /PKGBUILD | |
parent | 8b3611ea43fa522fef0cb316442511f0eabcb4fe (diff) | |
download | AUR-679640f802129af0a8e9a4b6f9f31ccfd86fa2f9.tar.gz AUR-679640f802129af0a8e9a4b6f9f31ccfd86fa2f9.tar.zst AUR-679640f802129af0a8e9a4b6f9f31ccfd86fa2f9.zip |
Fix permissions for logrotate
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | pkgname=naemon | 3 | pkgname=naemon |
4 | pkgver=1.0.6 | 4 | pkgver=1.0.6 |
5 | pkgrel=2 | 5 | pkgrel=3 |
6 | pkgdesc="System and network monitoring application" | 6 | pkgdesc="System and network monitoring application" |
7 | arch=('i686' 'x86_64') | 7 | arch=('i686' 'x86_64') |
8 | url="http://naemon.org" | 8 | url="http://naemon.org" |
@@ -72,7 +72,7 @@ package() { | |||
72 | 72 | ||
73 | chown -R 44:44 "$pkgdir"/var/{cache,lib,log}/$pkgname | 73 | chown -R 44:44 "$pkgdir"/var/{cache,lib,log}/$pkgname |
74 | chown -R 44:44 "$pkgdir"/etc/naemon | 74 | chown -R 44:44 "$pkgdir"/etc/naemon |
75 | chmod -R 770 "$pkgdir"/var/{cache,lib,log}/$pkgname | 75 | chmod -R 750 "$pkgdir"/var/{cache,lib,log}/$pkgname |
76 | 76 | ||
77 | install -Dm644 "$srcdir"/$pkgname.service \ | 77 | install -Dm644 "$srcdir"/$pkgname.service \ |
78 | "$pkgdir"/usr/lib/systemd/system/$pkgname.service | 78 | "$pkgdir"/usr/lib/systemd/system/$pkgname.service |