Commit 4d940c79 authored by Natanael Copa's avatar Natanael Copa
Browse files

fetch: respect --simulate option

parent f503502c
...@@ -82,6 +82,9 @@ static int fetch_package(struct fetch_ctx *fctx, ...@@ -82,6 +82,9 @@ static int fetch_package(struct fetch_ctx *fctx,
return -1; return -1;
} }
if (apk_flags & APK_SIMULATE)
return 0;
snprintf(infile, sizeof(infile), "%s/%s-%s.apk", snprintf(infile, sizeof(infile), "%s/%s-%s.apk",
db->repos[i].url, pkg->name->name, pkg->version); db->repos[i].url, pkg->name->name, pkg->version);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment