]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- use SOLVER_SOLUTION_DISTUPGRADE instead of replacing
authorMichael Schroeder <mls@suse.de>
Wed, 4 Nov 2009 11:37:35 +0000 (12:37 +0100)
committerMichael Schroeder <mls@suse.de>
Wed, 4 Nov 2009 11:37:35 +0000 (12:37 +0100)
  package with itself in dup mode

src/problems.c

index 1d074da9d2d0f53b25c71d172c46016ad5164857..70ffde497ef3bfacbfcdc8661d2c87b1e8ba2e20 100644 (file)
@@ -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;
        }