Commit 80e64f4c authored by Timo Teräs's avatar Timo Teräs

package: do not report duplicate reverse dependencies

most notable in error report from 'del' applet
parent 9ee8c7ca
...@@ -1214,8 +1214,11 @@ static void foreach_reverse_dependency( ...@@ -1214,8 +1214,11 @@ static void foreach_reverse_dependency(
pkg0->foreach_genid = genid; pkg0->foreach_genid = genid;
} }
foreach_array_item(d0, pkg0->depends) { foreach_array_item(d0, pkg0->depends) {
if (apk_dep_analyze(d0, pkg) & match) if (apk_dep_analyze(d0, pkg) & match) {
cb(pkg0, d0, pkg, ctx); cb(pkg0, d0, pkg, ctx);
if (genid)
break;
}
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment