From 1e17da9d704097523e337b64d2b0e424caa4a9ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Wed, 16 Mar 2011 14:51:44 +0200 Subject: 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. --- src/cache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/cache.c') diff --git a/src/cache.c b/src/cache.c index 60c7aeb..f827cc1 100644 --- a/src/cache.c +++ b/src/cache.c @@ -58,7 +58,8 @@ static int cache_download(struct apk_database *db) continue; apk_pkg_format_plain(pkg, APK_BLOB_BUF(item)); - apk_cache_download(db, repo->url, item, cacheitem, + apk_cache_download(db, repo->url, pkg->arch, + item, cacheitem, APK_SIGN_VERIFY_IDENTITY); } -- cgit v1.2.3