diff options
author | ache <ache@FreeBSD.org> | 2001-12-07 23:23:01 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-12-07 23:23:01 +0000 |
commit | 0085f36568c92d73b969e485fe4d577ec42bec70 (patch) | |
tree | 9a7b389153896c9f39cd54cb4abc81e0fde4bda3 /security/drweb | |
parent | bffc285f9fe9c0a6ed5751f903c612bd86f6297b (diff) | |
download | FreeBSD-ports-0085f36568c92d73b969e485fe4d577ec42bec70.zip FreeBSD-ports-0085f36568c92d73b969e485fe4d577ec42bec70.tar.gz |
Suggest user deleting command instead of using it automatically
Diffstat (limited to 'security/drweb')
-rw-r--r-- | security/drweb/Makefile | 1 | ||||
-rw-r--r-- | security/drweb/pkg-deinstall | 9 |
2 files changed, 2 insertions, 8 deletions
diff --git a/security/drweb/Makefile b/security/drweb/Makefile index cc4c5a3..f941fc8 100644 --- a/security/drweb/Makefile +++ b/security/drweb/Makefile @@ -7,6 +7,7 @@ PORTNAME= drweb PORTVERSION= 4.26c +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.drweb.ru/ftp/web_pub/ DISTNAME= ${PORTNAME}d-${PORTVERSION}-freebsd4 diff --git a/security/drweb/pkg-deinstall b/security/drweb/pkg-deinstall index fe71e9e..14f338e 100644 --- a/security/drweb/pkg-deinstall +++ b/security/drweb/pkg-deinstall @@ -7,16 +7,9 @@ if [ "$2" != "POST-DEINSTALL" ]; then fi USER=drweb -ex=0 if pw usershow "${USER}" 2>/dev/null 1>&2; then - if pw userdel ${USER}; then - echo "Delete user/group \"${USER}\"." - else - echo "Deleting user/group \"${USER}\" failed..." - ex=1 - fi + echo "To delete DrWeb user permanently, use 'pw userdel ${USER}'" fi -[ "$ex" = "1" ] && exit 1 exit 0 |