summaryrefslogtreecommitdiff
path: root/src/repo.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2009-07-16 15:03:31 +0200
committerMichael Schroeder <mls@suse.de>2009-07-16 15:03:31 +0200
commitd8009f8716de059920c220cf5c2f05ddc31663e3 (patch)
tree12424736f49d399d13892d9baaf6ec7100584cc7 /src/repo.c
parent96afe018a3814f2313b5178fa11cbb0b99cbb9bb (diff)
downloadlibsolv-d8009f8716de059920c220cf5c2f05ddc31663e3.tar.gz
libsolv-d8009f8716de059920c220cf5c2f05ddc31663e3.tar.bz2
libsolv-d8009f8716de059920c220cf5c2f05ddc31663e3.zip
- seems like I can't get the filelist search right...
Diffstat (limited to 'src/repo.c')
-rw-r--r--src/repo.c6
1 files changed, 2 insertions, 4 deletions
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;