pkgsrc/textproc/rarian/files/install-scrollkeeper.tmpl
drochner a371762cf6 move the install/deinstall templates from scrollkeeper to rarian
to reflect where the work is done
(call the backwards-compatible rarian version "install-scrollkeeper"
to leave room for a future non-compatibility version)
2007-11-12 20:41:18 +00:00

14 lines
397 B
Cheetah

# $NetBSD: install-scrollkeeper.tmpl,v 1.1 2007/11/12 20:41:18 drochner Exp $
SCROLLKEEPER_DATADIR="@SCROLLKEEPER_DATADIR@"
SCROLLKEEPER_REBUILDDB="@SCROLLKEEPER_REBUILDDB@"
SCROLLKEEPER_UPDATEDB="@SCROLLKEEPER_UPDATEDB@"
case ${STAGE} in
POST-INSTALL)
${SCROLLKEEPER_UPDATEDB} -q -p ${SCROLLKEEPER_DATADIR}/db
;;
DEINSTALL)
${SCROLLKEEPER_UPDATEDB} -q -p ${SCROLLKEEPER_DATADIR}/db
;;
esac