diff options
author | Erich Eckner <git@eckner.net> | 2019-04-25 09:12:43 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-04-25 09:12:43 +0200 |
commit | 842085bd6bd3f992d5c4b16f125ac61bd53df770 (patch) | |
tree | 66a5585e94d9c40f0fe40c072b8fa13f79eba382 /courier-authlib | |
parent | a3a48289333c2e771fb6cc2c22bf1079ca323f44 (diff) | |
download | archlinuxewe-842085bd6bd3f992d5c4b16f125ac61bd53df770.tar.xz |
courier-authlib: remove user only when existant
Diffstat (limited to 'courier-authlib')
-rw-r--r-- | courier-authlib/courier-authlib.install | 2 |
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 } |