fix build on debian
authorMichael Schroeder <mls@suse.de>
Tue, 23 Oct 2012 11:42:35 +0000 (13:42 +0200)
committerMichael Schroeder <mls@suse.de>
Tue, 23 Oct 2012 11:42:35 +0000 (13:42 +0200)
examples/solv.c

index 3c4e336..185a97b 100644 (file)
@@ -1715,7 +1715,7 @@ read_repos(Pool *pool, struct repoinfo *repoinfos, int nrepoinfos)
         repo_free(ref, 1);
 #endif
 #if defined(ENABLE_DEBIAN) && defined(DEBIAN)
-      if (repo_add_debdb(repo, 0, REPO_REUSE_REPODATA | REPO_USE_ROOTDIR) && !rootdir)
+      if (repo_add_debdb(repo, REPO_REUSE_REPODATA | REPO_USE_ROOTDIR))
        {
          fprintf(stderr, "installed db: %s\n", pool_errstr(pool));
          exit(1);