From 654c33f7489407bec3e093853460c522252abaaf Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 9 Oct 2006 21:32:45 +0000 Subject: [PATCH] Make --newuse not imply --update anymore because that restriction is unnecessary. svn path=/main/trunk/; revision=4641 --- bin/emerge | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/bin/emerge b/bin/emerge index e59f7a82e..877cc5141 100755 --- a/bin/emerge +++ b/bin/emerge @@ -355,9 +355,10 @@ def create_depgraph_params(myopts, myaction): myparams = ["recurse"] add=[] sub=[] - if "--update" in myopts or myaction in ("system", "world"): - add.extend(["selective"]) - if "--noreplace" in myopts: + if "--update" in myopts or \ + "--newuse" in myopts or \ + "--noreplace" in myopts or \ + myaction in ("system", "world"): add.extend(["selective"]) if "--emptytree" in myopts: add.extend(["empty"]) @@ -4069,10 +4070,6 @@ def emerge_main(): if ("--usepkgonly" in myopts) and not ("--usepkg" in myopts): myopts["--usepkg"] = True - if ("--newuse" in myopts) and not ("--update" in myopts): - print ">>> --newuse implies --update... adding --update to options." - myopts["--update"] = True - # Also allow -l to apply --pretend/-p, but if already in --ask mode if ("--changelog" in myopts) and not (("--pretend" in myopts) or ("--ask" in myopts)): print ">>> --changelog implies --pretend... adding --pretend to options." -- 2.26.2