db: allow using cached packages with --no-network

cute-signatures
Timo Teräs 2013-10-02 16:06:10 +03:00
parent aa345aab59
commit a6c4103df5
1 changed files with 1 additions and 1 deletions

View File

@ -2151,7 +2151,7 @@ int apk_db_add_repository(apk_database_t _db, apk_blob_t _repository)
db->available_repos &= ~BIT(repo_num);
r = 0;
} else {
db->repo_tags[tag_id].allowed_repos |= BIT(repo_num) & db->available_repos;
db->repo_tags[tag_id].allowed_repos |= BIT(repo_num);
}
return 0;