summaryrefslogtreecommitdiff
path: root/net/phpldapadmin/files/pkg-install.in
blob: f1ccd622b9a7660144943947314646c5b46f04b1 (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
#!/bin/sh
#
# $FreeBSD: /tmp/pcvs/ports/net/phpldapadmin/files/pkg-install.in,v 1.3 2009-12-24 20:50:22 miwi Exp $
#

PATH=/usr/sbin:/usr/bin:/bin ; export PATH

pla_dir=%%WWWDIR%%
pla_usr=%%PLA_USR%%
pla_grp=%%PLA_GRP%%


case $2 in
    POST-INSTALL)

    	# Change ownership of the phpldapadmin directory

        echo "===> Adjusting file ownership in $pla_dir"
        chown -R $pla_usr:$pla_grp $pla_dir || exit 1
	;;
esac

#
# That's All Folks!
#