summaryrefslogtreecommitdiff
path: root/databases/phpmyadmin/files/pkg-install.in
blob: 4a552295fda4080434d66f5a053a85f453283c1a (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$
#

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

WWWDIR=%%WWWDIR%%
pma_usr=%%PMA_USR%%
pma_grp=%%PMA_GRP%%

case $2 in

    POST-INSTALL)

    	# Change ownership of the phpMyAdm directory

        echo "===> Adjusting file ownership in $WWWDIR"
        chown -R $pma_usr:$pma_grp $WWWDIR || exit 1
	;;
esac

#
# That's All Folks!
#