diff options
author | taca <taca@pkgsrc.org> | 2010-07-22 14:04:49 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2010-07-22 14:04:49 +0000 |
commit | b6302fd5592d0103f1440b77b599005a83016cc1 (patch) | |
tree | a282ff9720d90ca2c7cd4d06a2de54e1a002ce84 /www | |
parent | 47b0b84112582f41301d438624781d9150609291 (diff) | |
download | pkgsrc-b6302fd5592d0103f1440b77b599005a83016cc1.tar.gz |
* Make languages files writable to web server to allow language files
as extension.
Bump PKGREVISION.
Diffstat (limited to 'www')
-rw-r--r-- | www/contao29/INSTALL | 9 | ||||
-rw-r--r-- | www/contao29/Makefile | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/www/contao29/INSTALL b/www/contao29/INSTALL index 0da81bda71d..52ab0f27198 100644 --- a/www/contao29/INSTALL +++ b/www/contao29/INSTALL @@ -1,13 +1,20 @@ -# $NetBSD: INSTALL,v 1.1.1.1 2010/07/05 14:45:21 taca Exp $ +# $NetBSD: INSTALL,v 1.2 2010/07/22 14:04:49 taca Exp $ CT_UPDATE="@CT_UPDATE@" CT_WEBDIR="@PREFIX@/@CT_WEBDIR@" CT_OWN="@WWWOWN@" +CT_GRP="@WWWGRP@" case ${STAGE} in POST-INSTALL) case "${CT_UPDATE}" in [Yy][Ee][Ss]) ${CHOWN} -R ${CT_OWN} ${CT_WEBDIR};; + *) cd ${CT_WEBDIR}/system/modules && \ + for i in */languages; do + ${CHGRP} -R ${CT_GRP} $i + ${CHMOD} -R g+w $i + done + ;; esac ;; esac diff --git a/www/contao29/Makefile b/www/contao29/Makefile index 028580dd6d0..8b99dc8b994 100644 --- a/www/contao29/Makefile +++ b/www/contao29/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.2 2010/07/18 14:46:44 taca Exp $ +# $NetBSD: Makefile,v 1.3 2010/07/22 14:04:49 taca Exp $ # DISTNAME= contao-${CT_VERSION} PKGNAME= contao${CT_VER}-${CT_PKGVER} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=typolight/} |