aboutsummaryrefslogtreecommitdiff
path: root/mail/exim/files/patch-scripts::exim_install
blob: 7874ce90e9022c507727d0995134862369318932 (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 May  5 12:08:35 2004
+++ scripts/exim_install	Wed May  5 15:07:53 2004
@@ -357,9 +357,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}.
@@ -370,7 +369,7 @@
 
   echo sed -e '\\'
   echo "  \"/SYSTEM_ALIASES_FILE/ s'SYSTEM_ALIASES_FILE'${ACTUAL_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
@@ -379,7 +378,7 @@
   if [ "$real" = "" ] ; then
     sed -e \
       "/SYSTEM_ALIASES_FILE/ s'SYSTEM_ALIASES_FILE'${ACTUAL_SYSTEM_ALIASES_FILE}'" \
-      ../src/configure.default > ${CONFIGURE_FILE}
+      ../src/configure.default > ${CONFIGURE_FILE}.default
   else
     true
   fi
@@ -399,8 +398,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