summaryrefslogtreecommitdiff
path: root/src/app_manifest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app_manifest.c')
-rw-r--r--src/app_manifest.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/app_manifest.c b/src/app_manifest.c
index e476872..4c257e7 100644
--- a/src/app_manifest.c
+++ b/src/app_manifest.c
@@ -109,9 +109,11 @@ static int process_match(struct apk_database *db, const char *match, struct apk_
return 0;
}
- foreach_array_item(p, name->providers)
+ apk_name_sorted_providers(name);
+ foreach_array_item(p, name->providers) {
+ if (p->pkg->name != name) continue;
process_package(db, p->pkg);
-
+ }
return 0;
}