fetch: respect --simulate option

cute-signatures
Natanael Copa 2009-07-06 08:48:25 +00:00
parent f503502cc0
commit 4d940c7932
1 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,9 @@ static int fetch_package(struct fetch_ctx *fctx,
return -1;
}
if (apk_flags & APK_SIMULATE)
return 0;
snprintf(infile, sizeof(infile), "%s/%s-%s.apk",
db->repos[i].url, pkg->name->name, pkg->version);