diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-12-27 14:05:49 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-12-27 14:05:49 +0200 |
commit | 83b098d357fa8508834d65bf2fbfee6c288cbd20 (patch) | |
tree | bb97565d440c8170d832ba914484bf7bb4c0acb6 /src/update.c | |
parent | 415e41a072231e5724c41dec0f2905af25fff821 (diff) | |
download | apk-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
Diffstat (limited to 'src/update.c')
-rw-r--r-- | src/update.c | 3 |
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; } |