mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 18:16:48 -04:00
22 lines
346 B
Bash
22 lines
346 B
Bash
#!/bin/sh
|
|
|
|
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!
|
|
#
|