diff options
-rwxr-xr-x | bin/emerge | 11 |
1 files 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." |