a107fbed69
make the port to use OptionsNG and fix installation permissions. PR: ports/175525 [1], ports/175632 [2], ports/175679 [3] Submitted by: Takefu <takefu airport fm> [1], Mihail Timofeev <miha_hard mail ru> [2], delphij [3] Approved by: maintainer, 9267096@gmail.com [1][2], ychsiao [1][3] Security: 559e00b7-6a4d-11e2-b6b0-10bf48230856
15 lines
259 B
Bash
15 lines
259 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
|
|
case $2 in
|
|
PRE-INSTALL)
|
|
;;
|
|
POST-INSTALL)
|
|
%%CHOWN%% -R %%WWWOWN%% %%WWWDIR%%/wp-content
|
|
%%FIND%% %%WWWDIR%% -type d -print | xargs %%CHGRP%% %%WWWGRP%%
|
|
%%FIND%% %%WWWDIR%% -type d -print | xargs %%CHMOD%% g+w
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|