diff options
Diffstat (limited to 'textproc/rarian/files/install-scrollkeeper.tmpl')
-rw-r--r-- | textproc/rarian/files/install-scrollkeeper.tmpl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/textproc/rarian/files/install-scrollkeeper.tmpl b/textproc/rarian/files/install-scrollkeeper.tmpl new file mode 100644 index 00000000000..f89e1c8c479 --- /dev/null +++ b/textproc/rarian/files/install-scrollkeeper.tmpl @@ -0,0 +1,14 @@ +# $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 |