From: Zac Medico Date: Sun, 19 Apr 2009 21:23:21 +0000 (-0000) Subject: Drop from --ask to --pretend for uninstall all actions. X-Git-Tag: v2.2_rc31~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=95c71a977fc68fe48c626cebdcc8490117cc9f07;p=portage.git Drop from --ask to --pretend for uninstall all actions. svn path=/main/trunk/; revision=13374 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 68c51725f..78f58b526 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -16125,7 +16125,8 @@ def emerge_main(): if portage.secpass < 2: # We've already allowed "--version" and "--help" above. if "--pretend" not in myopts and myaction not in ("search","info"): - need_superuser = myaction in ('deselect',) or not \ + need_superuser = myaction in ('clean', 'depclean', 'deselect', + 'prune', 'unmerge') or not \ (fetchonly or \ (buildpkgonly and secpass >= 1) or \ myaction in ("metadata", "regen") or \