4056c13bf3
- Pass maintainership to submitter PR: ports/96915 Submitted by: Dmitriy Kirhlarov <dimma@higis.ru>
14 lines
276 B
Bash
14 lines
276 B
Bash
#!/bin/sh
|
|
#
|
|
#
|
|
|
|
if [ "$2" != "POST-INSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
|
|
WWWOWN=${WWWOWN:=%%WWWOWN%%}
|
|
WWWGRP=${WWWGRP:=%%WWWGRP%%}
|
|
WWW_ROOT=${PKG_PREFIX}/%%WWW_ROOT%%
|
|
|
|
chown -R ${WWWOWN}:${WWWGRP} ${WWW_ROOT}/sess ${WWW_ROOT}/tmp ${WWW_ROOT}/config
|