ports/databases/phpmyadmin/files/pkg-install.in
Martin Wilke 9ce226fbd7 - Switch to using bsd.ports.options.mk
- Use USERS and GROUPS functionality , instead of supplying pkg-install
- Drop some warnings about changes that happened a long time ago now.

PR:		141801
Submitted by:	Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
2009-12-22 11:48:41 +00:00

25 lines
355 B
Bash

#!/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!
#