diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-12-03 19:13:41 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-12-03 19:13:41 +0000 |
commit | 63db8f24e5107a190a9600db2e7e9cc480980a3d (patch) | |
tree | c8113ec44acc26071b3d5dca4e47926fa83f5b8a /pym | |
parent | 477f823c824b36dbd618406d0898d1d0b01796ae (diff) | |
download | portage-63db8f24e5107a190a9600db2e7e9cc480980a3d.tar.gz portage-63db8f24e5107a190a9600db2e7e9cc480980a3d.tar.bz2 portage-63db8f24e5107a190a9600db2e7e9cc480980a3d.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. (trunk r8822)
svn path=/main/branches/2.1.2/; revision=8823
Diffstat (limited to 'pym')
-rw-r--r-- | pym/portage.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index 015dad08f..4614c85cb 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -4462,7 +4462,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) |