Make binarytree.move_ent() properly update PF.
authorZac Medico <zmedico@gentoo.org>
Tue, 19 Dec 2006 22:26:40 +0000 (22:26 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 19 Dec 2006 22:26:40 +0000 (22:26 -0000)
svn path=/main/trunk/; revision=5326

pym/portage.py

index af6607722aef5bc46b940d25113603f7ee38bdd8..325b718cb3bde3f7e01097bb7a7700081c0e1a69 100644 (file)
@@ -5829,6 +5829,7 @@ class binarytree(packagetree):
                        if mynewpkg != myoldpkg:
                                mydata[mynewpkg+".ebuild"] = mydata[myoldpkg+".ebuild"]
                                del mydata[myoldpkg+".ebuild"]
+                               mydata["PF"] = mynewpkg + "\n"
                        mytbz2.recompose_mem(xpak.xpak_mem(mydata))
 
                        self.dbapi.cpv_remove(mycpv)