From: Zac Medico Date: Wed, 13 Jun 2007 05:53:34 +0000 (-0000) Subject: Fix dblink.isowner() so it works properly when ROOT!=/. (trunk r6827) X-Git-Tag: v2.1.3_rc1~6 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a16926704d1cf2dbf6af593787a7a79b5a7b8742;p=portage.git Fix dblink.isowner() so it works properly when ROOT!=/. (trunk r6827) svn path=/main/branches/2.1.2/; revision=6828 --- diff --git a/pym/portage.py b/pym/portage.py index 73beaabb0..260ec5f7e 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -7296,7 +7296,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: