freebsd-ports/net/phpldapadmin/files/pkg-install.in
Martin Wilke 9cb8c6f736 - Switch to using bsd.ports.options.mk -
- Use USERS and GROUPS functionality, instead of supplying pkg-install
  scripts to create userids.
- Drop some warnings about changes that happened a long time ago now.

PR:		141804 141803
Submitted by:	Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
2009-12-24 20:50:22 +00:00

25 lines
453 B
Bash

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