diff options
Diffstat (limited to 'www/wordpress/files/pkg-install.in')
-rw-r--r-- | www/wordpress/files/pkg-install.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/wordpress/files/pkg-install.in b/www/wordpress/files/pkg-install.in new file mode 100644 index 000000000000..4d3943f8ffa6 --- /dev/null +++ b/www/wordpress/files/pkg-install.in @@ -0,0 +1,14 @@ +#!/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 |