diff options
author | David Felipe Pizarro Naranjo | 2017-03-20 12:46:01 -0300 |
---|---|---|
committer | David Felipe Pizarro Naranjo | 2017-03-20 12:46:01 -0300 |
commit | 797a4b1711297fad7745f7823df84b5c6971b421 (patch) | |
tree | a82420701aea385a688017b0ca9f609b4bcb610a /polkit.install | |
download | aur-797a4b1711297fad7745f7823df84b5c6971b421.tar.gz |
First AUR release
Diffstat (limited to 'polkit.install')
-rw-r--r-- | polkit.install | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/polkit.install b/polkit.install new file mode 100644 index 000000000000..bb5a0c657512 --- /dev/null +++ b/polkit.install @@ -0,0 +1,9 @@ +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 /usr/bin/nologin polkitd + passwd -l polkitd &>/dev/null +} + +post_upgrade() { + post_install +} |