pkgsrc/www/contao211-example/INSTALL
taca ffba619df9 Importing contao211-example package version 2.11.0.
This is example site data of Contao Open Source CMS.
2012-02-19 10:55:32 +00:00

22 lines
481 B
Text

#!@SH@
#
# $NetBSD: INSTALL,v 1.1.1.1 2012/02/19 10:55:32 taca Exp $
PAX="@PAX@"
CT_EGDIR="@PREFIX@/@CT_EGDIR@"
CT_WEBDIR="@PREFIX@/@CT_WEBDIR@"
WWWGRP="@WWWGRP@"
WWWOWN="@WWWOWN@"
CT_DATA="tl_files/music_academy"
CT_TEMPLATE="templates/music_academy.sql"
case "${STAGE}" in
POST-INSTALL)
cd ${CT_EGDIR} &&
@PAX@ -rw ${CT_DATA} ${CT_WEBDIR}
for f in ${CT_DATA} ${CT_TEMPLATE}; do
${CHGRP} -R ${WWWGRP} ${CT_WEBDIR}/$f
${CHOWN} -R ${WWWOWN} ${CT_WEBDIR}/$f
done
;;
esac