summaryrefslogtreecommitdiff
path: root/src/app_index.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2021-09-03 16:29:55 +0300
committerTimo Teräs <timo.teras@iki.fi>2021-10-27 16:14:45 +0300
commit40f08663679246edaa578d87e9f153adaad62a87 (patch)
treefb7752c055af85656af4f5a3324d795efbdaf642 /src/app_index.c
parent9bd1e95e5be92e9db3e0f59e3920105c2f578846 (diff)
downloadapk-tools-40f08663679246edaa578d87e9f153adaad62a87.tar.gz
apk-tools-40f08663679246edaa578d87e9f153adaad62a87.tar.bz2
apk-tools-40f08663679246edaa578d87e9f153adaad62a87.tar.xz
apk-tools-40f08663679246edaa578d87e9f153adaad62a87.zip
db, add: support adding v3 package files
Diffstat (limited to 'src/app_index.c')
-rw-r--r--src/app_index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app_index.c b/src/app_index.c
index 741bcf9..f38af63 100644
--- a/src/app_index.c
+++ b/src/app_index.c
@@ -182,7 +182,7 @@ static int index_main(void *ctx, struct apk_ctx *ac, struct apk_string_array *ar
} while (0);
if (!found) {
- r = apk_pkg_read(db, *parg, &pkg);
+ r = apk_pkg_read(db, *parg, &pkg, FALSE);
if (r < 0) {
apk_err(out, "%s: %s", *parg, apk_error_str(r));
errors++;