diff options
author | Timo Teräs <timo.teras@iki.fi> | 2024-04-15 17:19:55 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2024-04-15 17:19:55 +0300 |
commit | ba6c31a5469ef74fb85119508e55de9631ffef41 (patch) | |
tree | 96f49bc1f8c94654c25100db780d64b8abe7829e | |
parent | 196031358ee4766f050650352496656b86f43d9e (diff) |
-rw-r--r-- | src/app_index.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app_index.c b/src/app_index.c index b4e57bf..c13ba2b 100644 --- a/src/app_index.c +++ b/src/app_index.c @@ -298,9 +298,9 @@ static int index_main(void *ctx, struct apk_ctx *ac, struct apk_string_array *ar apk_warn(out, "Total of %d unsatisfiable package names. Your repository may be broken.", counts.unsatisfied); - apk_msg(out, "Index has %d packages (of which %d are new)", - total, newpkgs); - + if (ictx->output != NULL) + apk_msg(out, "Index has %d packages (of which %d are new)", + total, newpkgs); return 0; } |