From f1bc146e9b62379f54cfb031751fefd0b8660441 Mon Sep 17 00:00:00 2001 From: guinux Date: Wed, 7 Jan 2015 15:09:39 +0100 Subject: [PATCH] fix #21 --- src/transaction.vala | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/transaction.vala b/src/transaction.vala index bbbb8b4..ff1a26a 100644 --- a/src/transaction.vala +++ b/src/transaction.vala @@ -1030,12 +1030,10 @@ namespace Pamac { if (error.str == "") { show_warnings (); TransactionType type = set_transaction_sum (); - if (type == TransactionType.UPDATE) { + if (type == TransactionType.UPDATE && mode == Mode.UPDATER) { // there only updates - if (mode == Mode.UPDATER) { - //sysupgrade_after_build = false; - commit (); - } + //sysupgrade_after_build = false; + commit (); } else if (type != 0) { if (transaction_sum_dialog.run () == ResponseType.OK) { transaction_sum_dialog.hide ();