1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/mail/exim/files/patch-scripts::exim_install
Oliver Eikemeier 33902d2d0b update to exim 4.33 + exiscan 20
/usr/local/share/doc/exim/ChangeLog
  /usr/local/share/doc/exim/NewStuff
  http://duncanthrax.net/exiscan-acl/CHANGELOG
2004-05-05 13:23:14 +00:00

42 lines
1.5 KiB
Plaintext

--- 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