summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-12-27 14:05:49 +0200
committerTimo Teräs <timo.teras@iki.fi>2011-12-27 14:05:49 +0200
commit83b098d357fa8508834d65bf2fbfee6c288cbd20 (patch)
treebb97565d440c8170d832ba914484bf7bb4c0acb6
parent415e41a072231e5724c41dec0f2905af25fff821 (diff)
downloadapk-tools-83b098d357fa8508834d65bf2fbfee6c288cbd20.tar.gz
apk-tools-83b098d357fa8508834d65bf2fbfee6c288cbd20.tar.bz2
apk-tools-83b098d357fa8508834d65bf2fbfee6c288cbd20.tar.xz
apk-tools-83b098d357fa8508834d65bf2fbfee6c288cbd20.zip
update: report number of distinct packages available
-rw-r--r--src/update.c3
1 files changed, 3 insertions, 0 deletions
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;
}