summaryrefslogtreecommitdiffstats
path: root/net/phpldapadmin098/pkg-deinstall-suphp
diff options
context:
space:
mode:
Diffstat (limited to 'net/phpldapadmin098/pkg-deinstall-suphp')
-rw-r--r--net/phpldapadmin098/pkg-deinstall-suphp26
1 files changed, 26 insertions, 0 deletions
diff --git a/net/phpldapadmin098/pkg-deinstall-suphp b/net/phpldapadmin098/pkg-deinstall-suphp
new file mode 100644
index 0000000..3e29ddb
--- /dev/null
+++ b/net/phpldapadmin098/pkg-deinstall-suphp
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+case $2 in
+ POST-DEINSTALL)
+ cat <<EOMSG
+The phpldapadmin-suphp port has been deleted.
+If you are not upgrading and don't intend to use
+phpLDAPadmin any more then you may wish to delete
+the %%PLAUSR%% account, which can be done with
+the following command:
+
+ # pw userdel %%PLAUSR%%
+EOMSG
+ if [ -d %%PREFIX%%/%%PLADIR%% ] ; then
+ echo " # rm -rf %%PREFIX%%/%%PLADIR%%/"
+ fi
+ echo
+ ;;
+esac
+
+#
+# That's All Folks!
+#
OpenPOWER on IntegriCloud