diff options
author | ache <ache@FreeBSD.org> | 2001-10-25 00:03:38 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-10-25 00:03:38 +0800 |
commit | 71586889ceee37fb38ff39a2f2ccfd690d2b40c1 (patch) | |
tree | 2e52086082895333c85b5d60f409daffa4977189 /www/apache21/pkg-deinstall | |
parent | 31feaaedaa1863ba185c5fe67ec105f98852fd68 (diff) | |
download | freebsd-ports-gnome-71586889ceee37fb38ff39a2f2ccfd690d2b40c1.tar.gz freebsd-ports-gnome-71586889ceee37fb38ff39a2f2ccfd690d2b40c1.tar.zst freebsd-ports-gnome-71586889ceee37fb38ff39a2f2ccfd690d2b40c1.zip |
Sync with main Apache
Submitted by: MAINTAINER
Diffstat (limited to 'www/apache21/pkg-deinstall')
-rw-r--r-- | www/apache21/pkg-deinstall | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/apache21/pkg-deinstall b/www/apache21/pkg-deinstall new file mode 100644 index 000000000000..77df2833abd0 --- /dev/null +++ b/www/apache21/pkg-deinstall @@ -0,0 +1,20 @@ +#!/bin/sh +# $FreeBSD: /tmp/pcvs/ports/www/apache21/Attic/pkg-deinstall,v 1.1 2001-10-24 16:03:34 ache Exp $ +# + +if [ "$2" != "POST-DEINSTALL" ]; then + exit 0 +fi + +USER=www + +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..." + exit 1 + fi +fi + +exit 0 |