diff options
author | David P <megver83@parabola.nu> | 2018-04-19 22:04:14 -0300 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2018-04-19 22:04:14 -0300 |
commit | 1ca15343a97e3cf701b405ed92d6db85960333eb (patch) | |
tree | 41dd35fee77f30f89e16eaff0c5ce80a022affc1 /pcr/polkit-consolekit/polkit.install | |
parent | 3412f25ceffeea819093fa205ee2aa9928f0dc4d (diff) | |
download | abslibre-1ca15343a97e3cf701b405ed92d6db85960333eb.tar.gz abslibre-1ca15343a97e3cf701b405ed92d6db85960333eb.tar.bz2 abslibre-1ca15343a97e3cf701b405ed92d6db85960333eb.zip |
db-remove: consolekit lxdm-consolekit polkit-consolekit sddm-consolekit consolekit-openrc cgmanager-openrc
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'pcr/polkit-consolekit/polkit.install')
-rw-r--r-- | pcr/polkit-consolekit/polkit.install | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/pcr/polkit-consolekit/polkit.install b/pcr/polkit-consolekit/polkit.install deleted file mode 100644 index 422db623c..000000000 --- a/pcr/polkit-consolekit/polkit.install +++ /dev/null @@ -1,15 +0,0 @@ -post_install() { - getent group polkitd || groupadd -g 102 polkitd - getent passwd polkitd || 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 - - if (( $(vercmp $2 0.113-6) < 0 )); then - usermod -aG proc -s /usr/bin/nologin polkitd - chown root:102 /{etc,usr/share}/polkit-1/rules.d - chmod 750 /{etc,usr/share}/polkit-1/rules.d - fi -} |