extra/polkit to 0.113-3

This commit is contained in:
Kevin Mihelich 2015-10-25 18:43:18 +00:00
parent 815cbc7c48
commit b5c08a2fb7
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@
pkgname=polkit
pkgver=0.113
pkgrel=2
pkgrel=3
pkgdesc="Application development toolkit for controlling system-wide privileges"
arch=(i686 x86_64)
license=(LGPL)

View file

@ -2,8 +2,8 @@ post_install() {
getent group polkitd >/dev/null || groupadd -g 102 polkitd
getent passwd polkitd >/dev/null || useradd -c 'Policy Kit Daemon' -u 102 -g polkitd -G proc -d '/' -s /bin/nologin polkitd
passwd -l polkitd &>/dev/null
chown 102 "$pkgdir/etc/polkit-1/rules.d"
chown 102 "$pkgdir/usr/share/polkit-1/rules.d"
chown root:102 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d
chmod 750 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d
}
post_upgrade() {