Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/scripts/exim_install
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ while [ $# -gt 0 ]; do
version=exim-`$exim 2>/dev/null | \
awk '/Exim version/ { OFS=""; print $3,"-",substr($4,2,length($4)-1) }'`${EXE}

version=exim

if [ "${version}" = "exim-${EXE}" ]; then
echo $com ""
echo $com "*** Could not run $exim to find version number ***"
Expand Down Expand Up @@ -373,10 +375,8 @@ done



# If there is no configuration file, install the default, modifying it to refer
# to the configured system aliases file. If there is no setting for
# SYSTEM_ALIASES_FILE, use the traditional /etc/aliases. If the file does not
# exist, install a default (dummy) for that too.
# Install default configuration file
# This is a local Debian modification.

# However, if CONFIGURE_FILE specifies a list of files, skip this code.

Expand All @@ -399,7 +399,7 @@ elif [ ! -f ${CONFIGURE_FILE} ]; then
${real} ${MKDIR} -p `${DIRNAME} ${CONFIGURE_FILE}`

echo sed -e '\\'
echo " \"/SYSTEM_ALIASES_FILE/ s'SYSTEM_ALIASES_FILE'${ACTUAL_SYSTEM_ALIASES_FILE}'\"" '\\'
echo " \"/SYSTEM_ALIASES_FILE/ s'SYSTEM_ALIASES_FILE'/etc/aliases'\"" '\\'
echo " ../src/configure.default > \${CONFIGURE_FILE}"

# I can't find a way of writing this using the ${real} feature because
Expand All @@ -408,7 +408,7 @@ elif [ ! -f ${CONFIGURE_FILE} ]; then

if [ "$real" = "" ] ; then
sed -e \
"/SYSTEM_ALIASES_FILE/ s'SYSTEM_ALIASES_FILE'${ACTUAL_SYSTEM_ALIASES_FILE}'" \
"/SYSTEM_ALIASES_FILE/ s'SYSTEM_ALIASES_FILE'/etc/aliases'" \
../src/configure.default > ${CONFIGURE_FILE}
else
true
Expand Down