Skip to content
Snippets Groups Projects
Commit e36b4202 authored by Timo Teräs's avatar Timo Teräs
Browse files

commit: consider install_if chains correctly in error analysis

fixes #10883
parent fc0f6886
No related branches found
No related tags found
No related merge requests found
...@@ -656,7 +656,7 @@ static void discover_reverse_iif(struct apk_name *name) ...@@ -656,7 +656,7 @@ static void discover_reverse_iif(struct apk_name *name)
if (!p->pkg->marked) continue; if (!p->pkg->marked) continue;
if (p->pkg->install_if->num == 0) continue; if (p->pkg->install_if->num == 0) continue;
foreach_array_item(d, p->pkg->install_if) { 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; ok = 0;
break; break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment