summaryrefslogtreecommitdiffstats
path: root/pym/portage.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-02 09:13:48 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-02 09:13:48 +0000
commit225499a8a36604412c2de35c078861fb6547333f (patch)
treebdd7103d7e1e1c9a6f608bc5f3ecaedccd8037bb /pym/portage.py
parentff1009f5912a776cf6461e7d5b48d49e1b3595b5 (diff)
downloadportage-225499a8a36604412c2de35c078861fb6547333f.tar.gz
portage-225499a8a36604412c2de35c078861fb6547333f.tar.bz2
portage-225499a8a36604412c2de35c078861fb6547333f.zip
Synchronize self-reinstallation logic so that emerge will always
restart itself when dblink.merge() creates temporary copies of PORTAGE_{BIN,PYM}_PATH. (trunk r8803) svn path=/main/branches/2.1.2/; revision=8804
Diffstat (limited to 'pym/portage.py')
-rw-r--r--pym/portage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index f46276968..7bb53cc56 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -9214,7 +9214,8 @@ class dblink:
"""
if self.myroot == "/" and \
"sys-apps" == self.cat and \
- "portage" == pkgsplit(self.pkg)[0]:
+ "portage" == pkgsplit(self.pkg)[0] and \
+ "livecvsportage" not in self.settings.features:
settings = self.settings
base_path_orig = os.path.dirname(settings["PORTAGE_BIN_PATH"])
from tempfile import mkdtemp