Martin Wilke 70274f1811 - 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:		141802
Submitted by:	Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
2009-12-22 11:52:55 +00:00

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