head	1.3;
access;
symbols
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.2;
locks; strict;
comment	@# @;


1.3
date	2002.06.22.17.48.43;	author pat;	state dead;
branches;
next	1.2;

1.2
date	2001.12.07.23.12.32;	author ache;	state Exp;
branches;
next	1.1;

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


desc
@@


1.3
log
@- Sync with www/apache13 a bit
- Fix clobbering ${PREFIX}/www on install and warnings coughing up
  on deinstall when ${PREFIX}/www is not empty
- Remove pkg-deinstall

PR:		ports/39645, ports/36804
Submitted by:	Charles Sprickman <freebsd@@fasttrackmonkey.com>,
		Peter C. Lai <sirmoo@@cowbert.2y.net>
@
text
@#!/bin/sh
# $FreeBSD: ports/www/apache13-modssl/pkg-deinstall,v 1.2 2001/12/07 23:12:32 ache Exp $
#

if [ "$2" != "POST-DEINSTALL" ]; then
    exit 0
fi

USER=www

if pw usershow "${USER}" 2>/dev/null 1>&2; then
	echo "To delete Apache user permanently, use 'pw userdel ${USER}'"
fi

exit 0
@


1.2
log
@Suggest a command to delete user instead of actually deleting it

PR:		32536
@
text
@d2 1
a2 1
# $FreeBSD: ports/www/apache13/pkg-deinstall,v 1.1 2001/10/21 17:33:37 ache Exp $
@


1.1
log
@Add files missing in prev. commit
@
text
@d12 1
a12 6
	if pw userdel ${USER}; then
		echo "Delete user/group \"${USER}\"."
	else
		echo "Deleting user/group \"${USER}\" failed..."
		exit 1
	fi
@

