]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
do not ignore the only repodata we have
authorMichael Schroeder <mls@suse.de>
Mon, 2 Feb 2015 15:22:15 +0000 (16:22 +0100)
committerMichael Schroeder <mls@suse.de>
Mon, 2 Feb 2015 15:23:24 +0000 (16:23 +0100)
src/repodata.c

index 4d577902c11bca92ffbb58d8eaf95b46b875fa7c..4ba1345b42b6f1cd3a9c7f4a54103cae6b36f24b 100644 (file)
@@ -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;