$NetBSD: patch-ae,v 1.8 2005/05/17 17:06:12 abs Exp $ --- scripts/exim_install.orig 2005-05-04 12:35:39.000000000 +0100 +++ scripts/exim_install @@ -80,6 +80,8 @@ if [ "${SYSTEM_ALIASES_FILE}" = "" ] ; t SYSTEM_ALIASES_FILE=/etc/aliases fi +INST_CONFIGURE_FILE=${PREFIX}/share/examples/exim/configure + # Allow INST_xx to over-ride xx case "$INST_BIN_DIRECTORY" in ?*) BIN_DIRECTORY="$INST_BIN_DIRECTORY";; esac case "$INST_CONFIGURE_FILE" in ?*) CONFIGURE_FILE="$INST_CONFIGURE_FILE";; esac @@ -390,15 +392,8 @@ elif [ ! -f ${CONFIGURE_FILE} ]; then echo $com "*** Exim installation ${ver}failed ***" exit 1 fi - if [ ! -f ${SYSTEM_ALIASES_FILE} ]; then - echo $com '****' - echo $com Installing a dummy ${SYSTEM_ALIASES_FILE} file because you do not have - echo $com one, and the default configuration requires it. You should - echo $com edit ${SYSTEM_ALIASES_FILE} and at least create an alias for postmaster. - echo $com '***' - echo ${CP} ../src/aliases.default ${SYSTEM_ALIASES_FILE} - ${real} ${CP} ../src/aliases.default ${SYSTEM_ALIASES_FILE} - fi + echo ${CP} ../src/aliases.default ${PREFIX}/share/examples/exim/aliases + ${real} ${CP} ../src/aliases.default ${PREFIX}/share/examples/exim/aliases else echo $com Configuration file ${CONFIGURE_FILE} already exists