blob: 23b27ce66adc05284e59784b36804e461a41290b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
$NetBSD: patch-ae,v 1.7 2004/08/27 10:46:52 abs Exp $
--- scripts/exim_install.orig 2004-08-26 15:09:59.000000000 +0100
+++ scripts/exim_install
@@ -79,6 +79,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
@@ -389,15 +391,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
|