diff options
Diffstat (limited to 'src/app_cache.c')
-rw-r--r-- | src/app_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app_cache.c b/src/app_cache.c index f4dd951..c6b89e1 100644 --- a/src/app_cache.c +++ b/src/app_cache.c @@ -89,7 +89,7 @@ static int cache_download(struct cache_ctx *cctx, struct apk_database *db) foreach_array_item(change, changeset.changes) { pkg = change->new_pkg; - if ((pkg == NULL) || (pkg->repos & db->local_repos)) + if (!pkg || (pkg->repos & db->local_repos) || !pkg->installed_size) continue; repo = apk_db_select_repo(db, pkg); |