Inverse logic again... only run if NOT in prefix
authorFabian Groffen <grobian@gentoo.org>
Fri, 16 Nov 2007 14:01:58 +0000 (14:01 -0000)
committerFabian Groffen <grobian@gentoo.org>
Fri, 16 Nov 2007 14:01:58 +0000 (14:01 -0000)
svn path=/main/branches/prefix/; revision=8517

pym/portage/__init__.py

index 8fd32c0e62d2ec142828ea4a9f5382569ab7149c..ee01856bfa91b89e3d7337d1464de21ff72f9dbe 100644 (file)
@@ -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