aboutsummaryrefslogtreecommitdiff
path: root/databases/frontbase/pkg-deinstall
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2008-06-13 04:16:29 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2008-06-13 04:16:29 +0000
commitbbfb03d5edd2f7bf2a62135456e00037d46f61a8 (patch)
treea6dc04966e86a8750023d01d45af097f20c7b14b /databases/frontbase/pkg-deinstall
parent2684acb94f48c6a794b14d8347001ea2e581daaf (diff)
downloadports-bbfb03d5edd2f7bf2a62135456e00037d46f61a8.tar.gz
ports-bbfb03d5edd2f7bf2a62135456e00037d46f61a8.zip
Notes
Diffstat (limited to 'databases/frontbase/pkg-deinstall')
-rw-r--r--databases/frontbase/pkg-deinstall15
1 files changed, 15 insertions, 0 deletions
diff --git a/databases/frontbase/pkg-deinstall b/databases/frontbase/pkg-deinstall
new file mode 100644
index 000000000000..a8cc4d7539a2
--- /dev/null
+++ b/databases/frontbase/pkg-deinstall
@@ -0,0 +1,15 @@
+#!/bin/sh
+# $FreeBSD$
+#
+
+if [ "$2" != "POST-DEINSTALL" ]; then
+ exit 0
+fi
+
+USER=frontbase
+
+if pw usershow "${USER}" 2>/dev/null 1>&2; then
+ echo "To delete the FrontBase user permanently, use 'pw userdel ${USER}'"
+fi
+
+exit 0