diff options
author | Junichi Uekawa <dancer@dancer64.netfort.gr.jp> | 2008-01-11 08:18:45 +0900 |
---|---|---|
committer | Junichi Uekawa <dancer@dancer64.netfort.gr.jp> | 2008-01-11 08:18:45 +0900 |
commit | d14b6eefa931e13ae2f96140a19478b688bdfc3e (patch) | |
tree | c1c8fb7e07bb2ddb6fc002482b50a207d9e5f405 /pbuilder-updatebuildenv | |
parent | bd680d6ceed3bd1ece18b7ddcdcb31cc55cfc095 (diff) | |
download | pbuilder-d14b6eefa931e13ae2f96140a19478b688bdfc3e.tar pbuilder-d14b6eefa931e13ae2f96140a19478b688bdfc3e.tar.gz |
Do not show "Upgrading for distribution xyz" message on update when --override-config is not specified (closes: #459432)
when no --override-config option is given, options like --distribution,
.... (or their .pbuilderrc counterparts DISTRIBUTION, ...) are not taken
into account for setting up the chroot, they also shouldn't be used for
outputting diagnostics.
Thanks to Andreas Beckmann <debian@abeckmann.de>
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-x | pbuilder-updatebuildenv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv index c515ba0..197100e 100755 --- a/pbuilder-updatebuildenv +++ b/pbuilder-updatebuildenv @@ -22,7 +22,7 @@ set -e . /usr/lib/pbuilder/pbuilder-runhooks -if [ -n "$DISTRIBUTION" ]; then +if [ -n "$DISTRIBUTION" ] && [ "$OVERRIDE_APTLINES" = "yes" ]; then echo "Upgrading for distribution $DISTRIBUTION" fi if [ "${PBUILDER_DEBUGMODE}" = "yes" ]; then |