head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2001.10.20.11.08.44;	author ache;	state dead;
branches;
next	1.1;

1.1
date	2001.10.19.11.07.52;	author ache;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Remove user deleting from here, it still needed for drweb sub-port
@
text
@#!/bin/sh
# $FreeBSD: ports/security/drweb-sendmail/pkg-deinstall,v 1.1 2001/10/19 11:07:52 ache Exp $
#

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
@


1.1
log
@Move user adding/deleting to pkg*install
@
text
@d2 1
a2 1
# $FreeBSD$
@

