diff options
author | thierry <thierry@FreeBSD.org> | 2004-05-20 16:31:30 +0000 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2004-05-20 16:31:30 +0000 |
commit | 375936a92e38d12d24c1b8da7d3b1e87f28a3759 (patch) | |
tree | 3830542215714845068aeca3bf312b8614f9a3d1 /net/phpldapadmin098/pkg-deinstall-suphp | |
parent | bd9c0d36abb5bda8990ac684e3cff6550ee577d9 (diff) | |
download | FreeBSD-ports-375936a92e38d12d24c1b8da7d3b1e87f28a3759.zip FreeBSD-ports-375936a92e38d12d24c1b8da7d3b1e87f28a3759.tar.gz |
- Improve handling of config files, making them not world readable
by default.
- Add a WITH_SUPHP option.
PR: ports/66758
Submitted by: maintainer.
Diffstat (limited to 'net/phpldapadmin098/pkg-deinstall-suphp')
-rw-r--r-- | net/phpldapadmin098/pkg-deinstall-suphp | 26 |
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! +# |