diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2001-11-08 11:23:25 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2001-11-08 11:23:25 +0000 |
commit | 6ac1f43ebb101442eae40e9166892081ea5db281 (patch) | |
tree | 8c683468ff48f2d222914825e1ce3bb0db1b6af3 /russian/apache13-modssl/pkg-deinstall | |
parent | 0edfeec38c7c02f820bdce82faf36b43cc7bd447 (diff) |
Notes
Diffstat (limited to 'russian/apache13-modssl/pkg-deinstall')
-rw-r--r-- | russian/apache13-modssl/pkg-deinstall | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/russian/apache13-modssl/pkg-deinstall b/russian/apache13-modssl/pkg-deinstall new file mode 100644 index 000000000000..d2e1679f1abd --- /dev/null +++ b/russian/apache13-modssl/pkg-deinstall @@ -0,0 +1,20 @@ +#!/bin/sh +# $FreeBSD: /tmp/pcvs/ports/russian/apache13-modssl/Attic/pkg-deinstall,v 1.1 2001-11-08 11:23:21 demon 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 |