summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--courier-authlib/courier-authlib.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/courier-authlib/courier-authlib.install b/courier-authlib/courier-authlib.install
index 6a7f4b38..4d57a553 100644
--- a/courier-authlib/courier-authlib.install
+++ b/courier-authlib/courier-authlib.install
@@ -11,5 +11,5 @@ post_upgrade() {
}
post_remove() {
- userdel courier
+ getent passwd courier >/dev/null 2>&1 && userdel courier
}