forked from cromer/pamac-classic
fix #21
This commit is contained in:
parent
457b7b69c0
commit
f1bc146e9b
@ -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 ();
|
||||||
|
Loading…
Reference in New Issue
Block a user