From: Zac Medico Date: Mon, 30 Jul 2007 04:03:08 +0000 (-0000) Subject: Fix dblink.isowner() so it works properly when ROOT!=/. (branches/2.1.2 r6828) X-Git-Tag: v2.1.2.11~55 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f3030774f447a87ac433807e4cc496643be32b9d;p=portage.git Fix dblink.isowner() so it works properly when ROOT!=/. (branches/2.1.2 r6828) svn path=/main/branches/2.1.2.9/; revision=7462 --- diff --git a/pym/portage.py b/pym/portage.py index d75ebecc4..64c2eecbd 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -7242,7 +7242,7 @@ class dblink: return True pkgfiles = self.getcontents() - if pkgfiles and filename in pkgfiles: + if pkgfiles and destfile in pkgfiles: return True if pkgfiles: if self._contents_inodes is None: