diff options
author | Loïc Minier <lool@dooz.org> | 2008-11-06 15:27:08 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2008-11-06 15:27:08 +0100 |
commit | 058535d5715600a691ea13a59bb2842023cd103d (patch) | |
tree | a9041e3b9b4114c73a6cdbf486ad8c49dfb7c7da | |
parent | a7bb6602cd82c74dfc9804d94000e3084f0f0f27 (diff) | |
download | pbuilder-058535d5715600a691ea13a59bb2842023cd103d.tar pbuilder-058535d5715600a691ea13a59bb2842023cd103d.tar.gz |
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.
-rwxr-xr-x | debian/pbuilder.config | 10 |
1 files changed, 9 insertions, 1 deletions
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 <<EOF > "$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 |