aboutsummaryrefslogtreecommitdiffstats
path: root/security/cyrus-sasl/pkg-deinstall
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-05-21 23:08:58 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-05-21 23:08:58 +0800
commit06a88d63137c6c376636bb2701170cbef623ced8 (patch)
tree08090696880df95228c224f0495a489e81c77627 /security/cyrus-sasl/pkg-deinstall
parent42ba5d1d17024e777f60bc0a87a4505b93a3ceb4 (diff)
downloadfreebsd-ports-graphics-06a88d63137c6c376636bb2701170cbef623ced8.tar.gz
freebsd-ports-graphics-06a88d63137c6c376636bb2701170cbef623ced8.tar.zst
freebsd-ports-graphics-06a88d63137c6c376636bb2701170cbef623ced8.zip
Fix for DB3 & KRB4
PR: 38363 Submitted by: maintainer
Diffstat (limited to 'security/cyrus-sasl/pkg-deinstall')
-rw-r--r--security/cyrus-sasl/pkg-deinstall8
1 files changed, 8 insertions, 0 deletions
diff --git a/security/cyrus-sasl/pkg-deinstall b/security/cyrus-sasl/pkg-deinstall
index fe997778b91..87f8409132f 100644
--- a/security/cyrus-sasl/pkg-deinstall
+++ b/security/cyrus-sasl/pkg-deinstall
@@ -24,6 +24,13 @@ delete_sasldb() {
fi
}
+delete_user() {
+ if pw usershow cyrus 2>/dev/null 1>&2; then
+ echo "To delete Cyrus user permanently, use 'pw userdel cyrus'"
+ fi
+
+}
+
# This should really be uninstalled by Sendmail
sendmail_conf() {
@@ -42,6 +49,7 @@ case $2 in
sendmail_conf
;;
POST-DEINSTALL)
+ delete_user
;;
esac