summaryrefslogtreecommitdiff
path: root/src/repodata.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/repodata.c')
-rw-r--r--src/repodata.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/repodata.c b/src/repodata.c
index 4d57790..4ba1345 100644
--- a/src/repodata.c
+++ b/src/repodata.c
@@ -1444,6 +1444,8 @@ dataiterator_filelistcheck(Dataiterator *di)
if (!needcomplete)
{
/* we don't need the complete filelist, so ignore all stubs */
+ if (data->repo->nrepodata == 2)
+ return 1;
for (j = 1; j < data->nkeys; j++)
if (data->keys[j].name != REPOSITORY_SOLVABLES && data->keys[j].name != SOLVABLE_FILELIST)
return 1;