bugfix if whatprovides,... does not exist
authorStefan Schubert <schubi@suse.de>
Fri, 7 Dec 2007 10:21:50 +0000 (10:21 +0000)
committerStefan Schubert <schubi@suse.de>
Fri, 7 Dec 2007 10:21:50 +0000 (10:21 +0000)
src/solver.c

index 93ba617..26ee20e 100644 (file)
@@ -3283,11 +3283,11 @@ solver_solve(Solver *solv, Queue *job)
   Solvable *s;
 
   /* create whatprovides if not already there */
-  if (pool->whatprovides)
+  if (!pool->whatprovides)
     pool_createwhatprovides(pool);
 
   /* create obsolete index if needed */
-  if (solv->noupdateprovide)
+  if (!solv->noupdateprovide)
     create_obsolete_index(solv);
 
   /*