summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-23 22:41:02 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-23 22:41:02 +0000
commitc8162735497d172dfdc1db7164cc8ed8b074943d (patch)
treec8b4813d8531231e308a8e51f9a8e295f1d1c963
parente90f0a373891a497a22e00fc88bbb49154506396 (diff)
downloadportage-c8162735497d172dfdc1db7164cc8ed8b074943d.tar.gz
portage-c8162735497d172dfdc1db7164cc8ed8b074943d.tar.bz2
portage-c8162735497d172dfdc1db7164cc8ed8b074943d.zip
Don't display the "Please update portage" message in --quiet mode. Thanks to solar.
svn path=/main/trunk/; revision=4806
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 72ba71ef3..8b69617ca 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -2097,7 +2097,7 @@ class depgraph:
else:
myversion = "%s-%s" % (mysplit[1], mysplit[2])
- if myversion != portage.VERSION :
+ if myversion != portage.VERSION and "--quiet" not in self.myopts:
if "--emptytree" in self.myopts:
p.append(colorize("WARN", "***")+" Please update portage to the above version before proceeding.")
p.append(" Failure to do so may result in failed or improper merges.")