aboutsummaryrefslogtreecommitdiffstats
path: root/net/phpldapadmin/files/pkg-deinstall.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/phpldapadmin/files/pkg-deinstall.in')
-rw-r--r--net/phpldapadmin/files/pkg-deinstall.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/net/phpldapadmin/files/pkg-deinstall.in b/net/phpldapadmin/files/pkg-deinstall.in
new file mode 100644
index 000000000000..cca9c556093d
--- /dev/null
+++ b/net/phpldapadmin/files/pkg-deinstall.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# $FreeBSD: /tmp/pcvs/ports/net/phpldapadmin/files/pkg-deinstall.in,v 1.1 2005-12-11 23:51:12 lawrance Exp $
+#
+
+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!
+#