diff options
author | Zac Medico <zmedico@gentoo.org> | 2006-12-18 06:22:40 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2006-12-18 06:22:40 +0000 |
commit | 9030636fb3a967865d422c165b5aec014b090ed3 (patch) | |
tree | 66c5732a0e735897f06f176d6f1033ec0418669f | |
parent | 975efc57f3c2b3798adc046d41dfc3afddbe33a5 (diff) | |
download | portage-9030636fb3a967865d422c165b5aec014b090ed3.tar.gz portage-9030636fb3a967865d422c165b5aec014b090ed3.tar.bz2 portage-9030636fb3a967865d422c165b5aec014b090ed3.zip |
For bug #158354, make "No" the default response for unmerge actions.
svn path=/main/trunk/; revision=5318
-rwxr-xr-x | bin/emerge | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge index 07b9d46bc..edccaf4fc 100755 --- 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 |