mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 17:36:28 -04:00
- 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)
26 lines
537 B
Bash
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!
|
|
#
|