aboutsummaryrefslogtreecommitdiff
path: root/security/drweb
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-12-07 23:23:01 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-12-07 23:23:01 +0000
commit435db652f745eabeeb34c934c87718868bc39c8c (patch)
tree258e3aa614102cb34c8f94c2279eed068a03f811 /security/drweb
parent61a5d4412139660bc7c0de63eeb1051f50720c13 (diff)
downloadports-435db652f745eabeeb34c934c87718868bc39c8c.tar.gz
ports-435db652f745eabeeb34c934c87718868bc39c8c.zip
Notes
Diffstat (limited to 'security/drweb')
-rw-r--r--security/drweb/Makefile1
-rw-r--r--security/drweb/pkg-deinstall9
2 files changed, 2 insertions, 8 deletions
diff --git a/security/drweb/Makefile b/security/drweb/Makefile
index cc4c5a3134c2..f941fc8f5d09 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 fe71e9e62b5e..14f338e08d64 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