summaryrefslogtreecommitdiff
path: root/www/zope210/pkg-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'www/zope210/pkg-deinstall')
-rw-r--r--www/zope210/pkg-deinstall15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/zope210/pkg-deinstall b/www/zope210/pkg-deinstall
new file mode 100644
index 000000000000..af2091a5b227
--- /dev/null
+++ b/www/zope210/pkg-deinstall
@@ -0,0 +1,15 @@
+#!/bin/sh
+# $FreeBSD$
+#
+
+if [ "$2" != "POST-DEINSTALL" ]; then
+ exit 0
+fi
+
+USER=www
+
+if pw usershow "${USER}" 2>/dev/null 1>&2; then
+ echo "To delete WWW (Zope or Apache and so on) user permanently, use 'pw userdel ${USER}'"
+fi
+
+exit 0