aboutsummaryrefslogtreecommitdiffstats
path: root/net/phpldapadmin/pkg-deinstall-suphp
blob: 3e29ddb5febb3f55e1b4f146a51387de47816eb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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!
#