head	1.5;
access;
symbols
	old_RELEASE_5_0_DP1:1.4
	old_RELEASE_4_5_0:1.4;
locks; strict;
comment	@# @;


1.5
date	2002.05.09.03.55.18;	author cy;	state dead;
branches;
next	1.4;

1.4
date	2001.12.07.23.12.32;	author ache;	state Exp;
branches;
next	1.3;

1.3
date	2001.10.29.20.05.37;	author ache;	state Exp;
branches;
next	1.2;

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

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


desc
@@


1.5
log
@1.  Upgrade 2.0.35 --> 2.0.36

2.  Port printed message to "pw userdel www" if port removed permanently.
    However master.passwd 1.25.2.5 has user www by default, so this is no
    longer correct advice.  Removed pkg-deinstall to correct this.

PR:		37849 and 36907
Approved by:	MAINTAINER:  Hye-Shik Chang <perky@@fallin.lv>
@
text
@#!/bin/sh
# $FreeBSD: ports/www/apache2/pkg-deinstall,v 1.4 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.4
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.3
log
@Second part to fix missing x-bit on pkg*install

PR:		31599
@
text
@d2 1
a2 1
# $FreeBSD: ports/www/apache2/pkg-deinstall,v 1.1 2001/10/24 16:03:34 ache Exp $
d6 1
a6 1
	exit 0
d12 1
a12 6
	if pw userdel ${USER}; then
		echo "Delete user/group \"${USER}\"."
	else
		echo "Deleting user/group \"${USER}\" failed..."
		exit 1
	fi
@


1.2
log
@First part to fix missing x-bit on pkg*install
@
text
@d6 1
a6 1
    exit 0
@


1.1
log
@Sync with main Apache

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

