summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-03-16 14:51:44 +0200
committerTimo Teräs <timo.teras@iki.fi>2011-03-16 14:56:13 +0200
commit1e17da9d704097523e337b64d2b0e424caa4a9ef (patch)
tree2454e273ce75830e31fe6c0f61a3b3763b101052 /src/apk_database.h
parent15badbfd975b2a898acaacfc943e4df2cb1c7864 (diff)
downloadapk-tools-1e17da9d704097523e337b64d2b0e424caa4a9ef.tar.gz
apk-tools-1e17da9d704097523e337b64d2b0e424caa4a9ef.tar.bz2
apk-tools-1e17da9d704097523e337b64d2b0e424caa4a9ef.tar.xz
apk-tools-1e17da9d704097523e337b64d2b0e424caa4a9ef.zip
db: handle arch similarly to stable branch
if package arch is not set, do not append anything to repository. if arch is set, it is appended to repository.
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index b79253d..64c4fed 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -183,7 +183,7 @@ int apk_repository_update(struct apk_database *db, struct apk_repository *repo);
int apk_db_cache_active(struct apk_database *db);
void apk_cache_format_index(apk_blob_t to, struct apk_repository *repo);
-int apk_cache_download(struct apk_database *db, const char *url,
+int apk_cache_download(struct apk_database *db, const char *url, apk_blob_t *arch,
const char *item, const char *cache_item, int verify);
int apk_db_install_pkg(struct apk_database *db,