summaryrefslogtreecommitdiff
path: root/courier-authlib/courier-authlib.install
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-03-13 12:02:13 +0100
committerErich Eckner <git@eckner.net>2019-03-13 12:02:13 +0100
commit90c2f2dd3df3355b73dfc16365ade42469d4ac82 (patch)
treeceef83806a56d04d0dbeb11eb7b83f7a18c49b46 /courier-authlib/courier-authlib.install
parente4d6f2b791857fe4417608b56937062ee1831818 (diff)
downloadarchlinuxewe-90c2f2dd3df3355b73dfc16365ade42469d4ac82.tar.xz
courier-authlib: cleanup
Diffstat (limited to 'courier-authlib/courier-authlib.install')
-rw-r--r--courier-authlib/courier-authlib.install11
1 files changed, 0 insertions, 11 deletions
diff --git a/courier-authlib/courier-authlib.install b/courier-authlib/courier-authlib.install
index ad5c6471f..4edf64cd4 100644
--- a/courier-authlib/courier-authlib.install
+++ b/courier-authlib/courier-authlib.install
@@ -1,10 +1,7 @@
# arg 1: the new package version
post_install() {
if ! (grep -q '^courier:.*:72:72:' /etc/passwd); then echo courier user has incorrect uid:gid - please fix!; fi;
- # set correct ownership & permissions on /run/authdaemon
- systemd-tmpfiles --create /usr/lib/tmpfiles.d/courier-authlib.conf
# make sure the system can see authlib libraries
- echo /usr/lib/courier-authlib > /etc/ld.so.conf.d/courier-authlib.conf
ldconfig
}
@@ -13,11 +10,3 @@ post_install() {
post_upgrade() {
post_install $1
}
-
-# arg 1: the old package version
-pre_remove() {
- systemd-tmpfiles --remove /usr/lib/tmpfiles.d/courier-authlib.conf
- rm -f /etc/ld.so.conf.d/courier-authlib.conf
- ldconfig
-} >/dev/null 2>&1
-