freebsd-ports/www/wordpress/files/pkg-install.in
Xin LI a107fbed69 Update to 3.5.1. While I'm there, also change russian to use gzipped tarball,
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
2013-01-30 01:50:42 +00:00

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