diff options
Diffstat (limited to 'net/jwhois/INSTALL')
-rw-r--r-- | net/jwhois/INSTALL | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/net/jwhois/INSTALL b/net/jwhois/INSTALL new file mode 100644 index 00000000000..897a58d470d --- /dev/null +++ b/net/jwhois/INSTALL @@ -0,0 +1,28 @@ +#!/bin/sh +# +# $NetBSD: INSTALL,v 1.1 2001/10/31 22:55:54 zuntum Exp $ + +PKGNAME=$1 +STAGE=$2 + +case ${STAGE} in +PRE-INSTALL) + ;; +POST-INSTALL) + EXAMPLE_DIR=${PKG_PREFIX}/share/examples + + INSTALL_CACHE="/usr/bin/install -c -o root -g nogroup -m 0664 /dev/null" + DBCACHE=/var/db/jwhois.db + + if [ ! -f ${DBCACHE} ] + then + echo "Creating empty cache file ${DBCACHE}..." + ${INSTALL_CACHE} ${DBCACHE} + fi + ;; +*) + echo "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 |