projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
975efc5
)
For bug #158354, make "No" the default response for unmerge actions.
author
Zac Medico
<zmedico@gentoo.org>
Mon, 18 Dec 2006 06:22:40 +0000
(06:22 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 18 Dec 2006 06:22:40 +0000
(06:22 -0000)
svn path=/main/trunk/; revision=5318
bin/emerge
patch
|
blob
|
history
diff --git
a/bin/emerge
b/bin/emerge
index 07b9d46bcd87849564531e7fc6c5163923f401f5..edccaf4fc260f3a760b02e3e0f1ac115ad7797d3 100755
(executable)
--- a/
bin/emerge
+++ b/
bin/emerge
@@
-3133,7
+3133,8
@@
def unmerge(settings, myopts, vartree, unmerge_action, unmerge_files,
#we're done... return
return 0
if "--ask" in myopts:
- if userquery("Would you like to unmerge these packages?")=="No":
+ if userquery("Would you like to unmerge these packages?",
+ responses=["No", "Yes"], colours=[red, green]) == "No":
# enter pretend mode for correct formatting of results
myopts["--pretend"] = True
print