Make a backup of ACCEPT_KEYWORDS when repoman changes it for each profile. This...
authorZac Medico <zmedico@gentoo.org>
Mon, 31 Jul 2006 16:05:47 +0000 (16:05 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 31 Jul 2006 16:05:47 +0000 (16:05 -0000)
svn path=/main/branches/2.1/; revision=4061

bin/repoman

index 1c0f1d72b15da625e7905c6cc32c98baa51cffc7..6d827d0d79d5e6acdbffbb91f98fece68a02e3ea 100755 (executable)
@@ -1120,6 +1120,8 @@ for x in scanlist:
                                        arch_caches[prof[0]]=[dep_settings, portage.portdb, portage.db["/"]["porttree"]]
 
                                dep_settings["ACCEPT_KEYWORDS"] = " ".join(groups)
+                               # just in case, prevent config.reset() from nuking these.
+                               dep_settings.backup_changes("ACCEPT_KEYWORDS")
 
                                for myprovide in myaux["PROVIDE"].split():
                                        prov_cp = portage.dep_getkey(myprovide)