From 83b098d357fa8508834d65bf2fbfee6c288cbd20 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Tue, 27 Dec 2011 14:05:49 +0200 Subject: update: report number of distinct packages available --- src/update.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/update.c b/src/update.c index 638dfbf..f0bfff5 100644 --- a/src/update.c +++ b/src/update.c @@ -35,6 +35,9 @@ static int update_main(void *ctx, struct apk_database *db, int argc, char **argv db->repos[i].url); } + apk_message("OK: %d distinct packages available", + db->available.packages.num_items); + return 0; } -- cgit v1.2.3-70-g09d2