mirror of
https://git.freebsd.org/ports.git
synced 2025-06-18 19:20:36 -04:00
- 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)
25 lines
355 B
Bash
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!
|
|
#
|