diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-12-03 19:12:37 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-12-03 19:12:37 +0000 |
commit | 8fa114c56a5b51ffe7978d33b23be423800c39a8 (patch) | |
tree | 31a25feab560a432f19346c0fb2d30397bc5e04b | |
parent | d63fc90d72cae46824239af0f1e5158f0d029ee0 (diff) | |
download | portage-8fa114c56a5b51ffe7978d33b23be423800c39a8.tar.gz portage-8fa114c56a5b51ffe7978d33b23be423800c39a8.tar.bz2 portage-8fa114c56a5b51ffe7978d33b23be423800c39a8.zip |
Bug #201082 - Don't call config.load_infodir() prior to pkg_postinst()
because it's not needed and the ebuild path that's passed in for
postinst is may be from the portage tree, which causes load_infodir()
to discard critical metadata such as CATEGORY without realoading
it.
svn path=/main/trunk/; revision=8822
-rw-r--r-- | pym/portage/__init__.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index c8634dd39..0fdc5a8fb 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -4482,7 +4482,6 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0, noiselevel=-1) return phase_retval elif mydo == "postinst": - mysettings.load_infodir(mysettings["O"]) phase_retval = spawn( _shell_quote(ebuild_sh_binary) + " " + mydo, mysettings, debug=debug, free=1, logfile=logfile) |