From e7bdb8d58f23bf6a1764045c23526a665e18b833 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 31 May 2007 07:41:05 +0000 Subject: [PATCH] Trigger an update of the Packages index when a package is moved or aux_update() is called. svn path=/main/trunk/; revision=6690 --- pym/portage/dbapi/bintree.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py index 94704e455..b7fa1ba65 100644 --- a/pym/portage/dbapi/bintree.py +++ b/pym/portage/dbapi/bintree.py @@ -81,6 +81,7 @@ class bindbapi(fakedbapi): if not v: del mydata[k] mytbz2.recompose_mem(portage.xpak.xpak_mem(mydata)) + self.bintree.inject(cpv) def cp_list(self, *pargs, **kwargs): if not self.bintree.populated: @@ -194,7 +195,7 @@ class binarytree(object): self._remove_symlink(mycpv) if new_path.split(os.path.sep)[-2] == "All": self._create_symlink(mynewcpv) - self.dbapi.cpv_inject(mynewcpv) + self.inject(mynewcpv) return moves -- 2.26.2