diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-07-15 05:36:28 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-07-15 05:36:28 +0000 |
commit | aa9bd14e4e796fa28d45e5219f9fc79053a6177d (patch) | |
tree | 9a5a2b9c66531d6ef706c72383b22c79a8a1b9a7 | |
parent | 35d80d0f779831b5cf88b693048c529d7f6fe36d (diff) | |
download | portage-aa9bd14e4e796fa28d45e5219f9fc79053a6177d.tar.gz portage-aa9bd14e4e796fa28d45e5219f9fc79053a6177d.tar.bz2 portage-aa9bd14e4e796fa28d45e5219f9fc79053a6177d.zip |
As suggested by vapier, only show the "System Settings" banner when myfiles is not empty.
svn path=/main/trunk/; revision=3879
-rwxr-xr-x | bin/emerge | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/emerge b/bin/emerge index 4d9c0342f..2a2dea3ed 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2988,8 +2988,9 @@ def action_info(settings, trees, myopts, myfiles): print getportageversion(settings["PORTDIR"], settings["ROOT"], settings.profile_path, settings["CHOST"], trees[settings["ROOT"]]["vartree"].dbapi) - print "=================================================================" - print " System Settings" + if myfiles: + print "=================================================================" + print " System Settings" print "=================================================================" print "System uname: "+unameout if os.path.exists("/etc/gentoo-release"): |