Fix --getbinpkg to inject downloaded packages into the local bintree.
authorZac Medico <zmedico@gentoo.org>
Sun, 6 Jul 2008 07:09:46 +0000 (07:09 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 6 Jul 2008 07:09:46 +0000 (07:09 -0000)
svn path=/main/trunk/; revision=10955

pym/_emerge/__init__.py

index b1fca922f70f3fc8f9695ac3d58dbfec2e5a91b0..49d345ba1934299daa841ec355bbaa8cd432cbb1 100644 (file)
@@ -2441,6 +2441,7 @@ class Binpkg(EbuildBuildDir):
                        retval = verifier.wait()
                        if retval != os.EX_OK:
                                return retval
+                       bintree.inject(pkg.cpv, filename=pkg_path)
 
                msg = " === (%s of %s) Merging Binary (%s::%s)" % \
                        (pkg_count.curval, pkg_count.maxval, pkg.cpv, pkg_path)