# $NetBSD: INSTALL,v 1.1.1.1 2002/09/23 13:08:52 markd Exp $

case ${STAGE} in
POST-INSTALL)
        if test ! -f @PKG_SYSCONFDIR@/mimedefang-ip-key ; then
                ${PERL5} @SHAREDIR@/gen-ip-validator.pl > @PKG_SYSCONFDIR@/mimedefang-ip-key
        fi
	${CHOWN} @DEFANG_USER@ @PKG_SYSCONFDIR@/mimedefang-ip-key
        ${CHMOD} 600 @PKG_SYSCONFDIR@/mimedefang-ip-key
        ;;
esac