projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
816ec8f
)
Make portage.unmerge return 0 on success in order to make `ebuild unmerge` exit nicel...
author
Zac Medico
<zmedico@gentoo.org>
Sun, 12 Mar 2006 11:22:14 +0000
(11:22 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 12 Mar 2006 11:22:14 +0000
(11:22 -0000)
svn path=/main/trunk/; revision=2862
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 4a2814dea3b923f7effb17a3d25452bc6902fa39..142735cf8143066f48f2518ed0b221337041fe8e 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-3092,7
+3092,9
@@
def unmerge(cat,pkg,myroot,mysettings,mytrimworld=1):
mylink=dblink(cat,pkg,myroot,mysettings,treetype="vartree")
if mylink.exists():
mylink.unmerge(trimworld=mytrimworld,cleanup=1)
- mylink.delete()
+ mylink.delete()
+ return 0
+ return 1
def isvalidatom(atom):
mycpv_cps = catpkgsplit(dep_getcpv(atom))