This commit is contained in:
guinux 2015-01-07 15:09:39 +01:00
parent 457b7b69c0
commit f1bc146e9b
1 changed files with 3 additions and 5 deletions

View File

@ -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 ();