aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-04-25 00:26:36 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-04-25 00:26:36 +0000
commit9fb2568aa7120781eec6d004cb2f4378b4115697 (patch)
tree508ed61b8d7680624c95482c3e8bff84d42fee74 /src
parente7f8d71d2b2a0cab693aa26c687f8745c2560908 (diff)
fetch: open the installed database to allow fetching a dependency tree rooted by a virtual
Diffstat (limited to 'src')
-rw-r--r--src/fetch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fetch.c b/src/fetch.c
index 81d4449..4189ce1 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,