summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libopkg/pkg_depends.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libopkg/pkg_depends.c b/libopkg/pkg_depends.c
index 27ce7bb..a4df7de 100644
--- a/libopkg/pkg_depends.c
+++ b/libopkg/pkg_depends.c
@@ -906,8 +906,7 @@ void buildDependedUponBy(pkg_t * pkg, abstract_pkg_t * ab_pkg)
for (i = 0; i < count; i++) {
depends = &pkg->depends[i];
if (depends->type != PREDEPEND
- && depends->type != DEPEND
- && depends->type != RECOMMEND)
+ && depends->type != DEPEND)
continue;
for (j = 0; j < depends->possibility_count; j++) {
ab_depend = depends->possibilities[j]->pkg;