aboutsummaryrefslogtreecommitdiffstats
path: root/src/fetch.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-09-09 16:31:11 +0300
committerTimo Teräs <timo.teras@iki.fi>2011-09-09 16:32:31 +0300
commita5a7021658212748e9f787ce23181d3e099aba73 (patch)
tree459384995fc52f096007c3ed4d8d88ca865f998c /src/fetch.c
parent0e24207c2e4fedb9c0656ed98bc37cd37df44d91 (diff)
downloadaports-a5a7021658212748e9f787ce23181d3e099aba73.tar.bz2
aports-a5a7021658212748e9f787ce23181d3e099aba73.tar.xz
applets: start using solver code
still todo: - 'fix' is missing - 'del -R' does not work - 'upgrade' does not do self-upgrade first ... and a lot of testing.
Diffstat (limited to 'src/fetch.c')
-rw-r--r--src/fetch.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fetch.c b/src/fetch.c
index 72b481df7e..f6fbc2ea8c 100644
--- a/src/fetch.c
+++ b/src/fetch.c
@@ -18,7 +18,6 @@
#include "apk_applet.h"
#include "apk_database.h"
-#include "apk_state.h"
#include "apk_io.h"
#include "apk_print.h"
@@ -180,6 +179,7 @@ static int fetch_main(void *ctx, struct apk_database *db, int argc, char **argv)
.result_mask = APK_DEPMASK_REQUIRE,
};
+#if 0
if (fctx->flags & FETCH_RECURSIVE) {
struct apk_state *state;
struct apk_change *change;
@@ -203,7 +203,9 @@ static int fetch_main(void *ctx, struct apk_database *db, int argc, char **argv)
}
apk_state_unref(state);
- } else {
+ } else
+#endif
+ {
struct apk_package *pkg = NULL;
for (j = 0; j < dep.name->pkgs->num; j++)