Remove user deleting from here, it still needed for drweb sub-port

This commit is contained in:
Andrey A. Chernov 2001-10-20 11:08:44 +00:00
parent df9f60c715
commit 1a56d1f4c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48973
2 changed files with 1 additions and 23 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= drweb_sendmail
PORTVERSION= 4.26
PORTREVISION= 11
PORTREVISION= 12
CATEGORIES= security mail
MASTER_SITES= http://www.drweb.ru/ftp/web_pub/
DISTNAME= drwebd-${PORTVERSION}-freebsd4

View File

@ -1,22 +0,0 @@
#!/bin/sh
# $FreeBSD$
#
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
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
fi
[ "$ex" = "1" ] && exit 1
exit 0