fetch: open the installed database to allow fetching a dependency tree rooted by a virtual

cute-signatures
William Pitcock 2017-04-25 00:26:36 +00:00
parent e7f8d71d2b
commit 9fb2568aa7
1 changed files with 1 additions and 2 deletions

View File

@ -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,