diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | informant.install | 5 |
3 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = informant pkgdesc = An Arch Linux News reader and pacman hook pkgver = 0.1.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/bradford-smith94/informant install = informant.install arch = any @@ -2,7 +2,7 @@ pkgname=informant pkgver=0.1.0 -pkgrel=1 +pkgrel=2 pkgdesc="An Arch Linux News reader and pacman hook" arch=('any') url="https://github.com/bradford-smith94/$pkgname" diff --git a/informant.install b/informant.install index c950fac6f4db..33493a403a03 100644 --- a/informant.install +++ b/informant.install @@ -1,7 +1,8 @@ post_install() { groupadd informant - touch var/cache/informant.dat - chgrp informant var/cache/informant.dat + touch /var/cache/informant.dat + chgrp informant /var/cache/informant.dat + chmod 664 /var/cache/informant.dat printf 'NOTE: Add yourself to group "informant" to avoid the need for sudo' } |