From: Fabian Groffen Date: Fri, 16 Nov 2007 14:01:58 +0000 (-0000) Subject: Inverse logic again... only run if NOT in prefix X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ce37639e76afbe6be7ba4bd418c107c1a59a953e;p=portage.git Inverse logic again... only run if NOT in prefix svn path=/main/branches/prefix/; revision=8517 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 8fd32c0e6..ee01856bf 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -701,7 +701,7 @@ def env_update(makelinks=1, target_root=None, prev_mtimes=None, contents=None, ldconfig = find_binary("%s-ldconfig" % env["CHOST"]) # Only run ldconfig as needed - if (ld_cache_update or makelinks) and ldconfig and EPREFIX != '': + if (ld_cache_update or makelinks) and ldconfig and EPREFIX == '': # ldconfig has very different behaviour between FreeBSD and Linux if ostype=="Linux" or ostype.lower().endswith("gnu"): # We can't update links if we haven't cleaned other versions first, as