Replace packages without asking
This commit is contained in:
parent
7289953332
commit
7c02a4ad2a
1 changed files with 2 additions and 1 deletions
|
@ -452,7 +452,8 @@ void cb_question(void *ctx, alpm_question_t *question)
|
||||||
case ALPM_QUESTION_REPLACE_PKG:
|
case ALPM_QUESTION_REPLACE_PKG:
|
||||||
{
|
{
|
||||||
alpm_question_replace_t *q = &question->replace;
|
alpm_question_replace_t *q = &question->replace;
|
||||||
q->replace = yesno(_("Replace %s with %s/%s?"),
|
q->replace = 1;
|
||||||
|
colon_printf(_("Replacing %s with %s/%s"),
|
||||||
alpm_pkg_get_name(q->oldpkg),
|
alpm_pkg_get_name(q->oldpkg),
|
||||||
alpm_db_get_name(q->newdb),
|
alpm_db_get_name(q->newdb),
|
||||||
alpm_pkg_get_name(q->newpkg));
|
alpm_pkg_get_name(q->newpkg));
|
||||||
|
|
Loading…
Add table
Reference in a new issue