summaryrefslogtreecommitdiff
path: root/src/state.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-08-06 11:47:44 +0300
committerTimo Teras <timo.teras@iki.fi>2009-08-06 11:47:44 +0300
commit0b2052ed064708767358290a73d600ed55fee5b2 (patch)
tree496ffe157d8f30c6e61ba92aa73aa43e3eab3831 /src/state.c
parent6f1de8cd530f598f3f79414390d98fd8e683f2af (diff)
downloadapk-tools-0b2052ed064708767358290a73d600ed55fee5b2.tar.gz
apk-tools-0b2052ed064708767358290a73d600ed55fee5b2.tar.bz2
apk-tools-0b2052ed064708767358290a73d600ed55fee5b2.tar.xz
apk-tools-0b2052ed064708767358290a73d600ed55fee5b2.zip
state: ignore missing world dependencies with --force and --quiet
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c
index 50c1ce3..d886754 100644
--- a/src/state.c
+++ b/src/state.c
@@ -148,7 +148,7 @@ struct apk_state *apk_state_new(struct apk_database *db)
* choices */
for (i = 0; db->world != NULL && i < db->world->num; i++) {
r = apk_state_prune_dependency(state, &db->world->item[i]);
- if (r < 0) {
+ if (r < 0 && apk_verbosity && !(apk_flags & APK_FORCE)) {
apk_error("Top level dependencies for %s are "
"conflicting or unsatisfiable.",
db->world->item[i].name->name);