From: Zac Medico Date: Wed, 13 Jun 2007 05:53:07 +0000 (-0000) Subject: Fix dblink.isowner() so it works properly when ROOT!=/. X-Git-Tag: v2.2_pre1~1249 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7e3e4f155bfe04f91de9d02689bf0b6478df3c80;p=portage.git Fix dblink.isowner() so it works properly when ROOT!=/. svn path=/main/trunk/; revision=6827 --- diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index a8364e1d1..5e91adebc 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1280,7 +1280,7 @@ class dblink(object): 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: