diff options
author | demon <demon@FreeBSD.org> | 2003-12-31 00:18:46 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2003-12-31 00:18:46 +0800 |
commit | 8b143735231388d06bf78f04e77e3b2f5c41035e (patch) | |
tree | a3d40a4ccf1795a7d800b5b831b66d196c85dc19 /net/jabberd/pkg-deinstall | |
parent | d21660280505d358581c278c4d9a604a658ea845 (diff) | |
download | freebsd-ports-gnome-8b143735231388d06bf78f04e77e3b2f5c41035e.tar.gz freebsd-ports-gnome-8b143735231388d06bf78f04e77e3b2f5c41035e.tar.zst freebsd-ports-gnome-8b143735231388d06bf78f04e77e3b2f5c41035e.zip |
Install startup script jabberd.sh.
Create user/group for jabberd on install.
Diffstat (limited to 'net/jabberd/pkg-deinstall')
-rw-r--r-- | net/jabberd/pkg-deinstall | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/jabberd/pkg-deinstall b/net/jabberd/pkg-deinstall new file mode 100644 index 000000000000..400091411f19 --- /dev/null +++ b/net/jabberd/pkg-deinstall @@ -0,0 +1,15 @@ +#!/bin/sh +# $FreeBSD$ +# + +if [ "$2" != "POST-DEINSTALL" ]; then + exit 0 +fi + +USER=jabber + +if pw usershow "${USER}" 2>/dev/null 1>&2; then + echo "To delete Jabber user permanently, use 'pw userdel ${USER}'" +fi + +exit 0 |