From 7c02a4ad2a55b156419ca73d2ec15db4a1ba2e06 Mon Sep 17 00:00:00 2001 From: morganamilo Date: Sat, 16 Mar 2024 20:27:41 +0000 Subject: [PATCH] Replace packages without asking --- src/pacman/callback.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pacman/callback.c b/src/pacman/callback.c index 76527e40..c67b771e 100644 --- a/src/pacman/callback.c +++ b/src/pacman/callback.c @@ -452,7 +452,8 @@ void cb_question(void *ctx, alpm_question_t *question) case ALPM_QUESTION_REPLACE_PKG: { 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_db_get_name(q->newdb), alpm_pkg_get_name(q->newpkg));