Author: schubi2 Date: Thu Nov 29 18:32:59 2007 New Revision: 7980 URL: http://svn.opensuse.org/viewcvs/zypp?rev=7980&view=rev Log: do not regard recommends of installed items Modified: trunk/sat-solver/src/solver.c Modified: trunk/sat-solver/src/solver.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/solver.c?rev=7980&r1=7979&r2=7980&view=diff ============================================================================== --- trunk/sat-solver/src/solver.c (original) +++ trunk/sat-solver/src/solver.c Thu Nov 29 18:32:59 2007 @@ -24,6 +24,7 @@ #include "policy.h" #define RULES_BLOCK 63 +#define REGARD_RECOMMENDS_OF_INSTALLED_ITEMS 0 int @@ -2201,7 +2202,7 @@ 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 @@ queue_pushunique(&dq, i); } } - if (0) + if (!REGARD_RECOMMENDS_OF_INSTALLED_ITEMS) { for (i = 0; i < solv->decisionq.count; i++) { -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org