mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
extra/polkit to 0.113-3
This commit is contained in:
parent
815cbc7c48
commit
b5c08a2fb7
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue