summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-04-28 11:57:05 +0000
committerZac Medico <zmedico@gentoo.org>2006-04-28 11:57:05 +0000
commitccf627a7dde301341fafd061e40e7c5438d5b983 (patch)
tree4fa2bdccb472a5b2e78478a0f8c7de29b0ef3b4e
parentba7c5091749b2380a474345af46600f07575f246 (diff)
downloadportage-ccf627a7dde301341fafd061e40e7c5438d5b983.tar.gz
portage-ccf627a7dde301341fafd061e40e7c5438d5b983.tar.bz2
portage-ccf627a7dde301341fafd061e40e7c5438d5b983.zip
Only trigger the 'Using system located in ROOT' message when ROOT!=/.
svn path=/main/trunk/; revision=3258
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index c645eb4ca..a982c20e8 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -2221,7 +2221,7 @@ def unmerge(unmerge_action, unmerge_files):
newline=""
if (not "--quiet" in myopts):
newline="\n"
- if portage.settings["ROOT"]:
+ if portage.settings["ROOT"] != "/":
print darkgreen(newline+">>> Using system located in ROOT tree "+portage.settings["ROOT"])
if (("--pretend" in myopts) or ("--ask" in myopts)) and not ("--quiet" in myopts):
print darkgreen(newline+">>> These are the packages that would be unmerged:")