From: Michael Tremer Date: Sun, 1 Oct 2023 11:54:16 +0000 (+0000) Subject: cli: pakfire: Enable progressbar X-Git-Tag: 0.9.30~1577 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ace8e3220f706942edca1251777377f491ad9eb3;p=pakfire.git cli: pakfire: Enable progressbar Signed-off-by: Michael Tremer --- diff --git a/src/cli/pakfire.c b/src/cli/pakfire.c index 1cdf9dc0d..438711a06 100644 --- a/src/cli/pakfire.c +++ b/src/cli/pakfire.c @@ -31,6 +31,7 @@ #include "lib/command.h" #include "lib/info.h" #include "lib/install.h" +#include "lib/progressbar.h" #include "lib/provides.h" #include "lib/remove.h" #include "lib/repolist.h" @@ -210,6 +211,9 @@ static int configure_callbacks(const struct config* config, struct pakfire* pakf // Configure pick solution callback pakfire_set_pick_solution_callback(pakfire, cli_term_pick_solution, NULL); + // Configure setup progress callback + pakfire_set_setup_progress_callback(pakfire, cli_setup_progressbar, NULL); + return 0; }