diff options
author | Michael Schroeder <mls@suse.de> | 2009-07-16 15:03:31 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2009-07-16 15:03:31 +0200 |
commit | d8009f8716de059920c220cf5c2f05ddc31663e3 (patch) | |
tree | 12424736f49d399d13892d9baaf6ec7100584cc7 /src/repo.c | |
parent | 96afe018a3814f2313b5178fa11cbb0b99cbb9bb (diff) | |
download | libsolv-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.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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; |