show build details only on failure

This commit is contained in:
guinux 2017-06-03 15:34:40 +02:00
parent 5daa7abd50
commit 4c903f3679
1 changed files with 2 additions and 1 deletions

View File

@ -1052,7 +1052,7 @@ namespace Pamac {
reset_progress_box (action); reset_progress_box (action);
build_cancellable.reset (); build_cancellable.reset ();
start_progressbar_pulse (); start_progressbar_pulse ();
important_details_outpout (true); important_details_outpout (false);
to_build.remove_all (); to_build.remove_all ();
string [] built_pkgs = {}; string [] built_pkgs = {};
int status = 1; int status = 1;
@ -1106,6 +1106,7 @@ namespace Pamac {
start_trans_prepare (flags, {}, {}, built_pkgs, {}); start_trans_prepare (flags, {}, {}, built_pkgs, {});
} }
} else { } else {
important_details_outpout (true);
to_load.remove_all (); to_load.remove_all ();
to_build_queue.clear (); to_build_queue.clear ();
stop_progressbar_pulse (); stop_progressbar_pulse ();