summaryrefslogtreecommitdiff
path: root/testing/polkit/polkit.install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/polkit/polkit.install')
-rw-r--r--testing/polkit/polkit.install18
1 files changed, 0 insertions, 18 deletions
diff --git a/testing/polkit/polkit.install b/testing/polkit/polkit.install
deleted file mode 100644
index fbb98919e..000000000
--- a/testing/polkit/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
-}