From: Zac Medico Date: Sat, 15 Jul 2006 05:36:28 +0000 (-0000) Subject: As suggested by vapier, only show the "System Settings" banner when myfiles is not... X-Git-Tag: v2.1.1~226 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aa9bd14e4e796fa28d45e5219f9fc79053a6177d;p=portage.git As suggested by vapier, only show the "System Settings" banner when myfiles is not empty. svn path=/main/trunk/; revision=3879 --- 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"):