blob: befc8702fd806d4b476b918d6eb5edaf9cc26a7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!@SH@
#
# $NetBSD: INSTALL,v 1.1.1.1 2011/08/12 13:09:03 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
|