From d8009f8716de059920c220cf5c2f05ddc31663e3 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Thu, 16 Jul 2009 15:03:31 +0200 Subject: - seems like I can't get the filelist search right... --- src/repo.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/repo.c') diff --git a/src/repo.c b/src/repo.c index f7eb125..0897b77 100644 --- a/src/repo.c +++ b/src/repo.c @@ -789,10 +789,8 @@ repo_search_md(Repo *repo, Id p, Id keyname, struct matchdata *md) /* do not search filelist extensions */ if (data->state != REPODATA_AVAILABLE) continue; - if (!repodata_precheck_keyname(data, REPOSITORY_EXTERNAL)) - continue; - for (j = 0; j < data->nkeys; j++) - if (data->keys[j].name == REPOSITORY_EXTERNAL) + for (j = 1; j < data->nkeys; j++) + if (data->keys[j].name != REPOSITORY_SOLVABLES && data->keys[j].name != SOLVABLE_FILELIST) break; if (j == data->nkeys) continue; -- cgit v1.2.3