]> git.ipfire.org Git - pakfire.git/commitdiff
transaction: Change what type we get from libsolv
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 29 Apr 2021 10:15:34 +0000 (10:15 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 29 Apr 2021 10:15:34 +0000 (10:15 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/transaction.c

index 3cbab27b547bba01dea4bee2321883b92a5c428e..47ae06a088f9e8dc88f81b19f115046e0c8a3d22 100644 (file)
@@ -50,7 +50,8 @@ struct pakfire_transaction {
 
 static pakfire_step_type_t pakfire_transaction_get_step_type(
                struct pakfire_transaction* transaction, PakfirePackage pkg) {
-       int type = transaction_type(transaction->transaction, pakfire_package_id(pkg), 0);
+       int type = transaction_type(transaction->transaction, pakfire_package_id(pkg),
+               SOLVER_TRANSACTION_SHOW_ACTIVE|SOLVER_TRANSACTION_CHANGE_IS_REINSTALL);
 
        // Translate solver types into our own types
        switch (type) {