summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dbapi/vartree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index e85e0b85a..6317af756 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -2030,7 +2030,7 @@ class dblink(object):
is_owned = True
break
- if is_owned and \
+ if file_type == "sym" and is_owned and \
(islink and statobj and stat.S_ISDIR(statobj.st_mode)):
# A new instance of this package claims the file, so
# don't unmerge it. If the file is symlink to a