Only trigger the 'Using system located in ROOT' message when ROOT!=/.
authorZac Medico <zmedico@gentoo.org>
Fri, 28 Apr 2006 11:57:05 +0000 (11:57 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 28 Apr 2006 11:57:05 +0000 (11:57 -0000)
svn path=/main/trunk/; revision=3258

bin/emerge

index c645eb4ca3ca3a33a3f41b9904df0631767b754b..a982c20e85325009665bb6e09d3e2e2c92c651a1 100755 (executable)
@@ -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:")