aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-updatebuildenv
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2008-01-11 08:18:45 +0900
committerJunichi Uekawa <dancer@dancer64.netfort.gr.jp>2008-01-11 08:18:45 +0900
commitd14b6eefa931e13ae2f96140a19478b688bdfc3e (patch)
treec1c8fb7e07bb2ddb6fc002482b50a207d9e5f405 /pbuilder-updatebuildenv
parentbd680d6ceed3bd1ece18b7ddcdcb31cc55cfc095 (diff)
downloadpbuilder-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-xpbuilder-updatebuildenv2
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