summaryrefslogtreecommitdiff
path: root/polkit.install
diff options
context:
space:
mode:
authorBrian Bidulock <bidulock@openss7.org>2018-08-27 18:25:28 -0600
committerBrian Bidulock <bidulock@openss7.org>2018-08-27 18:25:28 -0600
commit74271735e41aee8848284d46ce5f0c636c09c14a (patch)
tree5d2739a719b7d156ae79a30e78a7524ebf737986 /polkit.install
parentdddb8c29aba2e38c5982e0fd658d643abffa02ec (diff)
downloadpolkit-git-74271735e41aee8848284d46ce5f0c636c09c14a.tar.gz
polkit-git-74271735e41aee8848284d46ce5f0c636c09c14a.tar.bz2
uppkg
Diffstat (limited to 'polkit.install')
-rw-r--r--polkit.install18
1 files changed, 0 insertions, 18 deletions
diff --git a/polkit.install b/polkit.install
deleted file mode 100644
index fbb9891..0000000
--- a/polkit.install
+++ /dev/null
@@ -1,18 +0,0 @@
-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 -d '/' -s /bin/false polkitd
- passwd -l polkitd &>/dev/null
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- if getent passwd polkitd >/dev/null; then
- userdel polkitd
- fi
- if getent group polkitd >/dev/null; then
- groupdel polkitd
- fi
-}