summaryrefslogtreecommitdiff
path: root/net/phpldapadmin098/pkg-deinstall-suphp
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-05-20 16:31:30 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-05-20 16:31:30 +0000
commit0387618a5bd08ad267220968d921bc7fdb796821 (patch)
treefb10bbf2af6bd4453a59a0159e7cac5ac8c946d8 /net/phpldapadmin098/pkg-deinstall-suphp
parent- moves the default installation directory to /usr/local/www/phpMyAdmin (diff)
- Improve handling of config files, making them not world readable
by default. - Add a WITH_SUPHP option. PR: ports/66758 Submitted by: maintainer.
Notes
Notes: svn path=/head/; revision=109565
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 000000000000..3e29ddb5febb
--- /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!
+#