projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a30d87
)
Drop from --ask to --pretend for uninstall all actions.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 19 Apr 2009 21:23:21 +0000
(21:23 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 19 Apr 2009 21:23:21 +0000
(21:23 -0000)
svn path=/main/trunk/; revision=13374
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index 68c51725f7429880c9e3045564783199f9d2d713..78f58b526f7fa35ad820c9908bafc4d2153965f0 100644
(file)
--- 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 \