summaryrefslogtreecommitdiff
path: root/debian/exim4-config.config
diff options
context:
space:
mode:
authorAndreas Metzler <ametzler@debian.org>2003-03-06 09:41:52 +0000
committerAndreas Metzler <ametzler@debian.org>2003-03-06 09:41:52 +0000
commit0052be042818ac253de900cda351481236b146e2 (patch)
tree2c99072e45c630f2eba2b69daf0a5cde65964c8e /debian/exim4-config.config
parent74b0965846b8afc1f2811e19963ea980a8dff6c4 (diff)
downloadexim4-0052be042818ac253de900cda351481236b146e2.tar.gz
exim4 (4.12-0.1)
svn path=/trunk/exim/; revision=144
Diffstat (limited to 'debian/exim4-config.config')
-rw-r--r--debian/exim4-config.config14
1 files changed, 11 insertions, 3 deletions
diff --git a/debian/exim4-config.config b/debian/exim4-config.config
index d93ec3c..7ac0a42 100644
--- a/debian/exim4-config.config
+++ b/debian/exim4-config.config
@@ -113,11 +113,19 @@ parseexim3() {
esac
}
+# REMOVEMEBEFORERELEASE begins
+# cruft from renaming debconf.results to update-exim4.conf.conf
+if [ -e /etc/exim4/debconf.results ] && \
+ [ ! -e /etc/exim4/update-exim4.conf.conf ]; then
+ cp -a /etc/exim4/debconf.results /etc/exim4/update-exim4.conf.conf
+fi
+# REMOVEMEBEFORERELEASE ends
+
db_get exim4/dc_eximconfig_configtype
dc_eximconfig_configtype="$RET"
-if [ -e /etc/exim4/debconf.results ] ; then
- . /etc/exim4/debconf.results || true
+if [ -e /etc/exim4/update-exim4.conf.conf ] ; then
+ . /etc/exim4/update-exim4.conf.conf || true
# set defaults using these values
storevar2db
else
@@ -134,7 +142,7 @@ else
fi
## set up default values, we cannot do this in templates file because
-## config script is called two times before debconf.results exists.
+## config script is called two times before update-exim4.conf.conf exists.
[ "x${dc_eximconfig_configtype}" = "x" ] && \
dc_eximconfig_configtype="local" && \
db_set exim4/dc_eximconfig_configtype "${dc_eximconfig_configtype}"