]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
oops, fix last commit
authorMichael Schroeder <mls@suse.de>
Tue, 3 Sep 2013 14:08:13 +0000 (16:08 +0200)
committerMichael Schroeder <mls@suse.de>
Tue, 3 Sep 2013 14:24:28 +0000 (16:24 +0200)
src/transaction.c

index 83d8738c59f906ab8e521481186e2eb045b90981..538515bef71a51916e9f668f4fd823940e347ed5 100644 (file)
@@ -256,7 +256,7 @@ transaction_type(Transaction *trans, Id p, int mode)
       if (s->repo == pool->installed)
        {
          /* check if we're obsoleted by pseudos only */
-         if (obsoleted_by_pseudos_only(trans, pool->solvables - s))
+         if (obsoleted_by_pseudos_only(trans, s - pool->solvables))
            return SOLVER_TRANSACTION_ERASE;
          return SOLVER_TRANSACTION_IGNORE;     /* ignore as we're being obsoleted */
        }