This commit is contained in:
guinux 2015-01-07 15:09:39 +01:00
parent 457b7b69c0
commit f1bc146e9b

View File

@ -1030,12 +1030,10 @@ namespace Pamac {
if (error.str == "") { if (error.str == "") {
show_warnings (); show_warnings ();
TransactionType type = set_transaction_sum (); TransactionType type = set_transaction_sum ();
if (type == TransactionType.UPDATE) { if (type == TransactionType.UPDATE && mode == Mode.UPDATER) {
// there only updates // there only updates
if (mode == Mode.UPDATER) {
//sysupgrade_after_build = false; //sysupgrade_after_build = false;
commit (); commit ();
}
} else if (type != 0) { } else if (type != 0) {
if (transaction_sum_dialog.run () == ResponseType.OK) { if (transaction_sum_dialog.run () == ResponseType.OK) {
transaction_sum_dialog.hide (); transaction_sum_dialog.hide ();