diff --git a/src/commit.c b/src/commit.c index e130f110614f2b79f9fd2b71f23030ab628872ae..57c58417854a1bd14355fd83a964f2344e01b6eb 100644 --- a/src/commit.c +++ b/src/commit.c @@ -656,7 +656,7 @@ static void discover_reverse_iif(struct apk_name *name) if (!p->pkg->marked) continue; if (p->pkg->install_if->num == 0) continue; foreach_array_item(d, p->pkg->install_if) { - if (apk_dep_conflict(d) == !!(d->name->state_int & STATE_PRESENT)) { + if (apk_dep_conflict(d) == !!(d->name->state_int & (STATE_PRESENT|STATE_INSTALLIF))) { ok = 0; break; }