ref: refs/heads/master
commit 393b9b7e2c3104fda4bdae40b5e2c0d0a0959585
Author: Michael Schroeder
Date: Wed Nov 4 12:37:35 2009 +0100
- use SOLVER_SOLUTION_DISTUPGRADE instead of replacing
package with itself in dup mode
---
src/problems.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/problems.c b/src/problems.c
index 1d074da..70ffde4 100644
--- a/src/problems.c
+++ b/src/problems.c
@@ -440,7 +440,7 @@ convertsolution(Solver *solv, Id why, Queue *solutionq)
if (solv->distupgrade && solv->rules[why].p != p && solv->decisionmap[p] > 0)
{
/* distupgrade case, allow to keep old package */
- queue_push(solutionq, p);
+ queue_push(solutionq, SOLVER_SOLUTION_DISTUPGRADE);
queue_push(solutionq, p);
return;
}
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org