]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
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 3c4e33677e952313823a551681b44c82ae9fd72d..185a97b97eec876f67ad2f198ac0407cf42c3c3d 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);