Enable remove progressbar with -S (conflict resolving)
$ sudo pacman -S mc Old output: *********** :: mc conflicts with mc-mp. Remove mc-mp? [Y/n] y ... (1/1) checking for file conflicts [################] 100% (1/1) installing mc [################] 100% New output: *********** :: mc conflicts with mc-mp. Remove mc-mp? [Y/n] y ... (1/1) checking for file conflicts [################] 100% (1/1) removing mc-mp [################] 100% (1/1) installing mc [################] 100% Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
ef500b44ce
commit
f250b034b4
1 changed files with 1 additions and 0 deletions
|
@ -930,6 +930,7 @@ int _alpm_sync_commit(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t **data)
|
|||
}
|
||||
/* we want the frontend to be aware of commit details */
|
||||
tr_remove->cb_event = trans->cb_event;
|
||||
tr_remove->cb_progress = trans->cb_progress;
|
||||
if(_alpm_trans_commit(tr_remove, NULL) == -1) {
|
||||
_alpm_log(PM_LOG_ERROR, _("could not commit removal transaction\n"));
|
||||
goto error;
|
||||
|
|
Loading…
Add table
Reference in a new issue