summaryrefslogtreecommitdiff
path: root/www/typolight-example/INSTALL
blob: ae23275029a84e32a7c9b97f2b480e7210e48259 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!@SH@
#
# $NetBSD: INSTALL,v 1.1.1.1 2008/09/15 10:06:41 taca Exp $

PAX="@PAX@"
TL_EGDIR="@PREFIX@/@TL_EGDIR@"
TL_WEBDIR="@PREFIX@/@TL_WEBDIR@"
WWWGRP="@WWWGRP@"
WWWOWN="@WWWOWN@"
TL_DATA="music_academy.css tl_files/music_academy"

case "${STAGE}" in
POST-INSTALL)
	cd ${TL_EGDIR} &&
		@PAX@ -rw ${TL_DATA} ${TL_WEBDIR}
	for f in ${TL_DATA}; do
		${CHGRP} -R ${WWWGRP} ${TL_WEBDIR}/$f
		${CHOWN} -R ${WWWOWN} ${TL_WEBDIR}/$f
	done
	;;
esac