summaryrefslogtreecommitdiff
path: root/mail/exim/files/patch-scripts::exim_install
blob: 9fdc230687ee0af0e4d27db2477d4ae5a0591e89 (plain) (blame)
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
32
33
34
35
36
37
38
39
40
41
--- scripts/exim_install.orig	Wed Dec 18 12:28:00 2002
+++ scripts/exim_install	Mon Jan  6 11:11:46 2003
@@ -330,9 +330,8 @@
   echo $com ' ' ${CONFIGURE_FILE}
   echo $com Therefore, skipping automatic installation.
 
-elif [ ! -f ${CONFIGURE_FILE} ]; then
-  echo $com Installing default configuration in ${CONFIGURE_FILE}
-  echo $com because there is no existing configuration file.
+else
+  echo $com Installing default configuration in ${CONFIGURE_FILE}.default
   if [ "${SYSTEM_ALIASES_FILE}" = "" ] ; then
     SYSTEM_ALIASES_FILE=/etc/aliases
     echo $com This configuration has system aliases in ${SYSTEM_ALIASES_FILE}.
@@ -343,7 +342,7 @@
 
   echo sed -e '\\'
   echo "  \"/SYSTEM_ALIASES_FILE/ s'SYSTEM_ALIASES_FILE'${SYSTEM_ALIASES_FILE}'\"" '\\'
-  echo "  ../src/configure.default > \${CONFIGURE_FILE}"
+  echo "  ../src/configure.default > \${CONFIGURE_FILE}.default"
 
   # I can't find a way of writing this using the ${real} feature because
   # it seems that the output redirection always happens, even when -n was
@@ -352,7 +351,7 @@
   if [ "$real" = "" ] ; then
     sed -e \
       "/SYSTEM_ALIASES_FILE/ s'SYSTEM_ALIASES_FILE'${SYSTEM_ALIASES_FILE}'" \
-      ../src/configure.default > ${CONFIGURE_FILE}
+      ../src/configure.default > ${CONFIGURE_FILE}.default
   else
     true
   fi
@@ -372,8 +371,6 @@
     ${real} ${CP} ../src/aliases.default ${SYSTEM_ALIASES_FILE}
   fi
 
-else
-  echo $com Configuration file ${CONFIGURE_FILE} already exists
 fi
 
 # Install info files if the directory is defined and the Texinfo