summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/policykit/policykit.install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:08:55 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:08:55 (GMT)
commitf38b952c758a9027bf7eb4767adacca50d545166 (patch)
tree3a73ca8e1ecb78062e1a5d08f16e7530e41efd82 /abs/extra-testing/policykit/policykit.install
parentf7e4487682067fb377a84062354309781517bfbe (diff)
downloadlinhes_pkgbuild-f38b952c758a9027bf7eb4767adacca50d545166.zip
linhes_pkgbuild-f38b952c758a9027bf7eb4767adacca50d545166.tar.gz
linhes_pkgbuild-f38b952c758a9027bf7eb4767adacca50d545166.tar.bz2
policykit*:Removed for LinHES 7 (replaced by polkit*).
Diffstat (limited to 'abs/extra-testing/policykit/policykit.install')
-rw-r--r--abs/extra-testing/policykit/policykit.install30
1 files changed, 0 insertions, 30 deletions
diff --git a/abs/extra-testing/policykit/policykit.install b/abs/extra-testing/policykit/policykit.install
deleted file mode 100644
index 7bc653e..0000000
--- a/abs/extra-testing/policykit/policykit.install
+++ /dev/null
@@ -1,30 +0,0 @@
-post_install() {
- getent group policykit >/dev/null || usr/sbin/groupadd -g 102 policykit
- getent passwd policykit >/dev/null || usr/sbin/useradd -c 'PolicyKit' -u 102 -g policykit -d '/' -s /sbin/nologin policykit
- usr/bin/passwd -l policykit &>/dev/null
-
- # set correct permissions
- chgrp policykit var/{run,lib}/PolicyKit
- chown policykit var/lib/PolicyKit-public
- chown policykit:policykit var/lib/misc/PolicyKit.reload
-
- chown policykit usr/lib/PolicyKit/polkit-set-default-helper
- chmod u+s usr/lib/PolicyKit/polkit-set-default-helper
-
- for i in polkit-read-auth-helper polkit-revoke-helper polkit-grant-helper polkit-explicit-grant-helper; do
- chgrp policykit usr/lib/PolicyKit/$i
- chmod g+s usr/lib/PolicyKit/$i
- done
-
- chgrp policykit usr/lib/PolicyKit/polkit-grant-helper-pam
- chmod u+s usr/lib/PolicyKit/polkit-grant-helper-pam
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- usr/sbin/userdel policykit &>/dev/null
- usr/sbin/groupdel policykit &>/dev/null
-}