From: Stefan Schubert Date: Thu, 29 Nov 2007 17:32:59 +0000 (+0000) Subject: do not regard recommends of installed items X-Git-Tag: BASE-SuSE-Code-12_1-Branch~1085 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d571dbb3721b6d731f61606f67f244676f139e13;p=platform%2Fupstream%2Flibsolv.git do not regard recommends of installed items --- diff --git a/src/solver.c b/src/solver.c index 866c58c..524a685 100644 --- a/src/solver.c +++ b/src/solver.c @@ -24,6 +24,7 @@ #include "policy.h" #define RULES_BLOCK 63 +#define REGARD_RECOMMENDS_OF_INSTALLED_ITEMS 0 int @@ -2201,7 +2202,7 @@ run_solver(Solver *solv, int disablerules, int doweak) int qcount; POOL_DEBUG(SAT_DEBUG_STATS, "installing recommended packages\n"); - if (0) + if (!REGARD_RECOMMENDS_OF_INSTALLED_ITEMS) { for (i = 0; i < solv->decisionq.count; i++) { @@ -2253,7 +2254,7 @@ run_solver(Solver *solv, int disablerules, int doweak) queue_pushunique(&dq, i); } } - if (0) + if (!REGARD_RECOMMENDS_OF_INSTALLED_ITEMS) { for (i = 0; i < solv->decisionq.count; i++) {