summaryrefslogtreecommitdiff
path: root/textproc/scrollkeeper/INSTALL
blob: 0e53377b4e32700d3adcd7bb3071c00a7618ef09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $NetBSD: INSTALL,v 1.2 2004/01/23 16:55:37 jmmv Exp $

SCROLLKEEPER_REBUILDDB="@SCROLLKEEPER_REBUILDDB@"
SCROLLKEEPER_DATADIR="@SCROLLKEEPER_DATADIR@"

case ${STAGE} in
POST-INSTALL)
	${MKDIR} ${SCROLLKEEPER_DATADIR}
	${MKDIR} ${SCROLLKEEPER_DATADIR}/log
	${TOUCH} ${SCROLLKEEPER_DATADIR}/log/scrollkeeper.log
	${MKDIR} ${SCROLLKEEPER_DATADIR}/db
	${SCROLLKEEPER_REBUILDDB} -q -p ${SCROLLKEEPER_DATADIR}/db > /dev/null 2>&1
	;;
DEINSTALL)
	${RM} -rf ${SCROLLKEEPER_DATADIR}
	;;
esac