Bug#593984: exim4-config: patch to improve autogenerated config file's header

Marc Haber mh+debian-bugs at zugschlus.de
Sun Aug 22 20:18:52 UTC 2010


Package: exim4-config
Version: 4.72-1
Severity: minor
Tags: patch 

Please consider the following patch which will make
/var/lib/exim4/config.autogenerated contain a better comment at its
start.

If you want me to, I can commit the patch myself

Greetings
Marc

Index: debian/debconf/update-exim4.conf
===================================================================
--- debian/debconf/update-exim4.conf	(revision 2484)
+++ debian/debconf/update-exim4.conf	(working copy)
@@ -248,10 +248,23 @@
 # WARNING WARNING WARNING
 # WARNING WARNING WARNING
 # WARNING WARNING WARNING
-# This file is generated dynamically from the files in
-# the conf.d/ directory, or from exim4.conf.template respectively.
-# Additional information is read from update-exim4.conf.conf
-# This version of the file was created from the directory $UPEX4C_confdir
+# This file was generated dynamically from
+EOF
+
+if [ "${dc_use_split_config}" = "true" ] ; then
+cat << EOF >> "${UPEX4C_outputfile}.tmp"
+# split config files in the $UPEX4C_confd/ directory.
+EOF
+else
+cat << EOF >> "${UPEX4C_outputfile}.tmp"
+# non-split config ($UPEX4C_confdir/exim4.conf.localmacros
+# and $UPEX4C_confdir/exim4.conf.template).
+EOF
+fi
+
+cat << EOF >> "${UPEX4C_outputfile}.tmp"
+# The information given to the debconf prompts on package configuration
+# is pulled in from $UPEX4C_confdir/update-exim4.conf.conf
 # Any changes you make here will be lost.
 # See /usr/share/doc/exim4-base/README.Debian.gz and update-exim4.conf(8)
 # for instructions of customization.





More information about the Pkg-exim4-maintainers mailing list