diff options
author | Timo Teras <timo.teras@iki.fi> | 2008-04-22 06:04:20 +0000 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2008-04-22 06:04:20 +0000 |
commit | 384c2f1d94282ff5564a5f6c5ab9e51c975f83a6 (patch) | |
tree | 30c7225064e95641e31b8e3ce5934773678253ee /src/index.c | |
parent | 823283edca0d8403742999917a4ff0698ad641cb (diff) | |
download | apk-tools-384c2f1d94282ff5564a5f6c5ab9e51c975f83a6.tar.gz apk-tools-384c2f1d94282ff5564a5f6c5ab9e51c975f83a6.tar.bz2 apk-tools-384c2f1d94282ff5564a5f6c5ab9e51c975f83a6.tar.xz apk-tools-384c2f1d94282ff5564a5f6c5ab9e51c975f83a6.zip |
Preserve uid and gid. Quiet flag to print dots on progress.
Diffstat (limited to 'src/index.c')
-rw-r--r-- | src/index.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/index.c b/src/index.c index eeaa337..45b7cf1 100644 --- a/src/index.c +++ b/src/index.c @@ -26,12 +26,13 @@ static int warn_if_no_providers(apk_hash_item item, void *ctx) struct apk_name *name = (struct apk_name *) item; if (name->pkgs == NULL) { - if (++counts->unsatisfied < 10) + if (++counts->unsatisfied < 10) { apk_warning("No provider for dependency '%s'", name->name); - else if (counts->unsatisfied == 10) + } else if (counts->unsatisfied == 10) { apk_warning("Too many unsatisfiable dependencies, " "not reporting the rest."); + } } counts->total++; |