projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd7334c
)
Make a backup of ACCEPT_KEYWORDS when repoman changes it for each profile. This...
author
Zac Medico
<zmedico@gentoo.org>
Wed, 5 Jul 2006 20:03:35 +0000
(20:03 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 5 Jul 2006 20:03:35 +0000
(20:03 -0000)
svn path=/main/trunk/; revision=3792
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index 6df7e97ef740586df968887a6dd0a51eef94d1ec..6bab8400ef972897eda14337294da3703d6d368e 100755
(executable)
--- a/
bin/repoman
+++ b/
bin/repoman
@@
-1149,6
+1149,8
@@
for x in scanlist:
portage.db["/"]["porttree"].settings = dep_settings
portage.db["/"]["porttree"].dbapi.mysettings = dep_settings
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)