summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/emerge b/bin/emerge
index 568f156a5..701684bf9 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -982,10 +982,8 @@ class depgraph:
myp = myparent.split()
if myp[3]=="merge":
self.mydbapi[myroot].cpv_inject(myp[2])
- if myp[0]=="binary":
- pkgsettings.setinst(myp[2], bindb)
- else:
- pkgsettings.setinst(myp[2], portdb)
+ pkgsettings.setinst(myp[2],
+ self.trees[myroot][self.pkg_tree_map[myp[0]]].dbapi)
if not mymerge:
return 1