diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-05-21 15:08:58 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-05-21 15:08:58 +0000 |
commit | fe250dd90dc1984ad9237d03ca7f429d01410340 (patch) | |
tree | 980724e92edc110533c9d1b3714720872f9416e8 /security/cyrus-sasl/pkg-deinstall | |
parent | f3320d0aaca4a92822a88e5cbd2ac3a8ee21513c (diff) | |
download | freebsd-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-deinstall | 8 |
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 |