summaryrefslogtreecommitdiff
path: root/courier-authlib-devel/courier-authlib.install
diff options
context:
space:
mode:
Diffstat (limited to 'courier-authlib-devel/courier-authlib.install')
-rw-r--r--courier-authlib-devel/courier-authlib.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/courier-authlib-devel/courier-authlib.install b/courier-authlib-devel/courier-authlib.install
new file mode 100644
index 000000000..4d57a5537
--- /dev/null
+++ b/courier-authlib-devel/courier-authlib.install
@@ -0,0 +1,15 @@
+# arg 1: the new package version
+post_install() {
+ # make sure the system can see authlib libraries
+ ldconfig
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ getent passwd courier >/dev/null 2>&1 && userdel courier
+}