summaryrefslogtreecommitdiff
path: root/src/repodata.c
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-10-27 14:53:59 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-10-27 14:53:59 +0900
commit40d5592805eaa650df84c50b9fed3cbdc4823fc5 (patch)
treecb7545e1e1440422a99b415a18959bedd777858f /src/repodata.c
parente69296cfbfd9bc7a9a5da7a78fbaca07072e3d16 (diff)
downloadlibsolv-40d5592805eaa650df84c50b9fed3cbdc4823fc5.tar.gz
libsolv-40d5592805eaa650df84c50b9fed3cbdc4823fc5.tar.bz2
libsolv-40d5592805eaa650df84c50b9fed3cbdc4823fc5.zip
Imported Upstream version 0.6.9upstream/0.6.9
Change-Id: Icf4a1aa6525f6c2bfc9da6f3ba1609728f39a073 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
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;