freebsd-ports/german/wordpress/files/pkg-install.in
Michael Scheidell 27e8ca19a9 - Update to 3.3.2
- change file ownership to www wp-content directory

PR:		ports/167219
Submitted by:	Takefu <takefu@airport.fm>
Approved by:	miwi (maintainer)
2012-05-27 10:06:54 +00:00

12 lines
246 B
Bash

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