From 058535d5715600a691ea13a59bb2842023cd103d Mon Sep 17 00:00:00 2001 From: Loïc Minier Date: Thu, 6 Nov 2008 15:27:08 +0100 Subject: Nicer comments in pbuilderrc; closes: #504599 Improve comments to add an explanation header that the new /etc/pbuilderrc uses the default values from /usr/share/pbuilder/pbuilderrc in pbuilder.config-generated pbuilderrc; thanks Ubuntu, Michael Vogt, and Martin Pitt for the patch; closes: #504599. --- debian/pbuilder.config | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/pbuilder.config b/debian/pbuilder.config index b913cca..2e50015 100755 --- a/debian/pbuilder.config +++ b/debian/pbuilder.config @@ -39,7 +39,15 @@ case "$1" in db_set pbuilder/mirrorsite "" fi else - echo "MIRRORSITE=$PLACEHOLDER" > "$CONFFILE" + cat < "$CONFFILE" +# this is your configuration file for pbuilder. +# the file in /usr/share/pbuilder/pbuilderrc is the default template. +# /etc/pbuilderrc is the one meant for overwritting defaults in +# the default template +# +# read pbuilderrc.5 document for notes on specific options. +EOF + echo "MIRRORSITE=$PLACEHOLDER" >> "$CONFFILE" MIRRORSITE="" db_set pbuilder/mirrorsite "" fi -- cgit v1.2.3