diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-06-20 14:08:16 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-06-20 14:08:16 +0300 |
commit | 3f27da2adec968b1d8f83149b2b321e1050b4acb (patch) | |
tree | fe66fec31a9eb8a6541075ef3f8e307d2e99d957 /src/database.c | |
parent | 7e18398781b056f858ef60200e24b0f8ab394cfe (diff) | |
download | apk-tools-3f27da2adec968b1d8f83149b2b321e1050b4acb.tar.gz apk-tools-3f27da2adec968b1d8f83149b2b321e1050b4acb.tar.bz2 apk-tools-3f27da2adec968b1d8f83149b2b321e1050b4acb.tar.xz apk-tools-3f27da2adec968b1d8f83149b2b321e1050b4acb.zip |
solver: fix pinning+cache to work
Mistakenly allowed masked out package to be installed if it was
in cache.
Diffstat (limited to 'src/database.c')
-rw-r--r-- | src/database.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/database.c b/src/database.c index ba13620..919335c 100644 --- a/src/database.c +++ b/src/database.c @@ -1452,8 +1452,6 @@ static void apk_db_setup_repositories(struct apk_database *db) db->local_repos |= BIT(APK_REPOSITORY_CACHED); db->available_repos |= BIT(APK_REPOSITORY_CACHED); - /* Get first repository tag (the NULL tag) */ - db->repo_tags[APK_DEFAULT_REPOSITORY_TAG].allowed_repos |= BIT(APK_REPOSITORY_CACHED); db->num_repo_tags = 1; } |