From 039ff3bd466819909a5295a43e40947a9e0b6c16 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Wed, 3 Jan 2018 15:17:11 +0200 Subject: split --force to several --force-[type] options This unloads --force as several of the things are really not wanted together. E.g. --force-refresh is a lot different from --force-broken-world and doing --force to get the other might introduce unwanted behaviour. --force is still kept for backwards compatibility and it enables most things --force was used for. --- src/solver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/solver.c') diff --git a/src/solver.c b/src/solver.c index 851e77e..91e5958 100644 --- a/src/solver.c +++ b/src/solver.c @@ -1022,7 +1022,7 @@ restart: generate_changeset(ss, world); - if (ss->errors && (apk_flags & APK_FORCE)) { + if (ss->errors && (apk_force & APK_FORCE_BROKEN_WORLD)) { foreach_array_item(d, world) { name = d->name; pkg = name->ss.chosen.pkg; -- cgit v1.2.3-70-g09d2