From 9fb2568aa7120781eec6d004cb2f4378b4115697 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 25 Apr 2017 00:26:36 +0000 Subject: fetch: open the installed database to allow fetching a dependency tree rooted by a virtual --- src/fetch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fetch.c b/src/fetch.c index 81d444991d..4189ce11df 100644 --- a/src/fetch.c +++ b/src/fetch.c @@ -346,8 +346,7 @@ static struct apk_applet apk_fetch = { .name = "fetch", .help = "Download PACKAGEs from global repositories to a local directory", .arguments = "PACKAGE...", - .open_flags = APK_OPENF_READ | APK_OPENF_NO_STATE | - APK_OPENF_NO_INSTALLED_REPO, + .open_flags = APK_OPENF_READ | APK_OPENF_NO_STATE, .context_size = sizeof(struct fetch_ctx), .optgroups = { &optgroup_global, &optgroup_applet }, .main = fetch_main, -- cgit v1.2.3