summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl/pkg-deinstall
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-05-21 15:08:58 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-05-21 15:08:58 +0000
commitfe250dd90dc1984ad9237d03ca7f429d01410340 (patch)
tree980724e92edc110533c9d1b3714720872f9416e8 /security/cyrus-sasl/pkg-deinstall
parentf3320d0aaca4a92822a88e5cbd2ac3a8ee21513c (diff)
downloadfreebsd-ports-fe250dd90dc1984ad9237d03ca7f429d01410340.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 fe997778b912..87f8409132f5 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