From: Zac Medico Date: Thu, 30 Apr 2009 07:21:14 +0000 (-0000) Subject: Drop from --ask to --pretend for uninstall all actions. (trunk r13374) X-Git-Tag: v2.1.6.12~46 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=932fc42c754d00aae393eb868b0a6c3147fff63f;p=portage.git Drop from --ask to --pretend for uninstall all actions. (trunk r13374) svn path=/main/branches/2.1.6/; revision=13527 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index d1817e55c..879579bb9 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -15634,7 +15634,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 \