diff options
author | Bradford Smith | 2020-01-15 21:45:21 -0500 |
---|---|---|
committer | Bradford Smith | 2020-01-15 21:45:21 -0500 |
commit | 54135b0194dbf97d430737040a7af3f297ff24c5 (patch) | |
tree | e147e11f602bf83102e4732d9727649ea92b45e4 | |
parent | a791868846326c3b3492ad18521fd8576dc7607f (diff) | |
download | aur-54135b0194dbf97d430737040a7af3f297ff24c5.tar.gz |
Add permissions change to cache file
Forgot to update permissions for the group to work right.
-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' } |