2001-11-08 12:23:25 +01:00
|
|
|
#!/bin/sh
|
2002-07-02 10:44:07 +02:00
|
|
|
# $FreeBSD: /tmp/pcvs/ports/russian/apache13-modssl/Attic/pkg-deinstall,v 1.2 2002-07-02 08:44:07 demon Exp $
|
2001-11-08 12:23:25 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
if [ "$2" != "POST-DEINSTALL" ]; then
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
|
|
|
USER=www
|
|
|
|
|
|
|
|
if pw usershow "${USER}" 2>/dev/null 1>&2; then
|
2002-07-02 10:44:07 +02:00
|
|
|
echo "To delete Apache user permanently, use 'pw userdel ${USER}'"
|
2001-11-08 12:23:25 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
exit 0
|