pkgsrc/mail/nmh/INSTALL
jlam 2920a32c71 Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
2003-08-30 20:22:49 +00:00

42 lines
859 B
Text

#! /bin/sh
#
# $NetBSD: INSTALL,v 1.3 2003/08/30 20:22:57 jlam Exp $
#
PKGNAME=$1
STAGE=$2
case ${STAGE} in
POST-INSTALL)
CONFDIR=${PKG_PREFIX}/etc/nmh
echo "Installing configuration files:"
for file in \
mhn.defaults \
mts.conf
do
if [ -f ${CONFDIR}/${file} ]
then
echo " ${CONFDIR}/${file} already exists"
else
echo " ${CONFDIR}/${file}"
cp ${CONFDIR}/${file}.dist ${CONFDIR}/${file}
chmod 644 ${CONFDIR}/${file}
fi
done
cat << EOF
=============================================================
Some files you might need to customize include the following:
${PKG_PREFIX}/etc/nmh/mhn.defaults
${PKG_PREFIX}/etc/nmh/mts.conf
In particular, edit mts.conf to point to an available SMTP
server if you are not running one locally.
=============================================================
EOF
;;
esac
exit 0