summaryrefslogtreecommitdiff
path: root/mail/exim/files/patch-scripts::exim_install
blob: ea626829cc31f3c525a11cab10728af911137b96 (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
42
43
44
45
46
47
48
49
50
--- scripts/exim_install.orig	Fri Nov 23 17:31:15 2001
+++ scripts/exim_install	Wed Dec 19 14:38:06 2001
@@ -293,30 +293,15 @@
 
 echo $com ""
 
-if [ ! -f ${CONFIGURE_FILE} ]; then
-  echo $com Installing default configuration in ${CONFIGURE_FILE}
-  echo $com because there is no existing configuration file.
-  echo ${MKDIR} -p `${DIRNAME} ${CONFIGURE_FILE}`
-  ${real} ${MKDIR} -p `${DIRNAME} ${CONFIGURE_FILE}`
-  echo ${CP} ../src/configure.default ${CONFIGURE_FILE}
-  ${real} ${CP} ../src/configure.default ${CONFIGURE_FILE}
+  echo $com Installing default configuration file in ${CONFIGURE_FILE%/*}/configure.default
+  ${real} mkdir -p ${CONFIGURE_FILE%/*}
+  echo ${CP} ../src/configure.default ${CONFIGURE_FILE%/*}
+  ${real} ${CP} ../src/configure.default ${CONFIGURE_FILE%/*}
   if [ $? -ne 0 ]; then
     echo $com ""
     echo $com "*** Exim installation ${ver}failed ***"
     exit 1
   fi
-  if [ ! -f /etc/aliases ]; then
-    echo $com '****'
-    echo $com Installing a dummy /etc/aliases file because you do not have
-    echo $com one, and the default configuration requires it. You should
-    echo $com edit /etc/aliases and at least create an alias for postmaster.
-    echo $com '***'
-    echo ${CP} ../src/aliases.default /etc/aliases
-    ${real} ${CP} ../src/aliases.default /etc/aliases
-  fi
-else
-  echo $com Configuration file ${CONFIGURE_FILE} already exists
-fi
 
 # Install info files if the directory is defined and the Texinfo
 # source documentation is present.
@@ -338,12 +323,6 @@
   echo $com Info installation directory is ${INFO_DIRECTORY}
   echo $com ""
 
-  makeinfo --no-split --output exim_overview.info ../doc/oview.texinfo
-  echo ${CP} exim_overview.info ${INFO_DIRECTORY}
-  ${real} ${CP} exim_overview.info ${INFO_DIRECTORY}
-  install-info --section="Exim" \
-      --entry "* Overview: (exim_overview).    Overview of the Exim system" \
-      ${INFO_DIRECTORY}/exim_overview.info ${INFO_DIRECTORY}/dir
   makeinfo --no-split --output exim.info ../doc/spec.texinfo
   echo ${CP} exim.info ${INFO_DIRECTORY}
   ${real} ${CP} exim.info ${INFO_DIRECTORY}