Skip to content
Snippets Groups Projects
Commit a6c4103d authored by Timo Teräs's avatar Timo Teräs
Browse files

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

parent aa345aab
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment