ports/net/phpldapadmin/files/pkg-deinstall.in
Martin Wilke 9cb8c6f736 - Switch to using bsd.ports.options.mk -
- Use USERS and GROUPS functionality, instead of supplying pkg-install
  scripts to create userids.
- Drop some warnings about changes that happened a long time ago now.

PR:		141804 141803
Submitted by:	Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
2009-12-24 20:50:22 +00:00

26 lines
537 B
Bash

#!/bin/sh
#
# $FreeBSD: /tmp/pcvs/ports/net/phpldapadmin/files/pkg-deinstall.in,v 1.3 2009-12-24 20:50:22 miwi 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 %%PLA_USR%% account, which can be done with
the following command:
# pw userdel %%PLA_USR%%
EOMSG
if [ -d %%WWWDIR%% ] ; then
echo " # rm -rf %%WWWDIR%%/"
fi
echo
;;
esac
#
# That's All Folks!
#