diff options
author | drochner <drochner@pkgsrc.org> | 2007-11-12 20:41:18 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2007-11-12 20:41:18 +0000 |
commit | a371762cf663f779bd81db49cb2df8e0f3b2636e (patch) | |
tree | 7765fcb26ed2114f4b00ef052777eac44bf27eca /textproc/rarian | |
parent | 49b29fd5b925accc9680fdacc2e79bcb494f05c6 (diff) | |
download | pkgsrc-a371762cf663f779bd81db49cb2df8e0f3b2636e.tar.gz |
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)
Diffstat (limited to 'textproc/rarian')
-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 |