summaryrefslogtreecommitdiff
path: root/courier-authlib/courier-authlib.install
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-25 09:12:43 +0200
committerErich Eckner <git@eckner.net>2019-04-25 09:12:43 +0200
commit842085bd6bd3f992d5c4b16f125ac61bd53df770 (patch)
tree66a5585e94d9c40f0fe40c072b8fa13f79eba382 /courier-authlib/courier-authlib.install
parenta3a48289333c2e771fb6cc2c22bf1079ca323f44 (diff)
downloadarchlinuxewe-842085bd6bd3f992d5c4b16f125ac61bd53df770.tar.xz
courier-authlib: remove user only when existant
Diffstat (limited to 'courier-authlib/courier-authlib.install')
-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 6a7f4b385..4d57a5537 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
}