Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
apk-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hassan Albahri
apk-tools
Commits
a6c4103d
Commit
a6c4103d
authored
11 years ago
by
Timo Teräs
Browse files
Options
Downloads
Patches
Plain Diff
db: allow using cached packages with --no-network
parent
aa345aab
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/database.c
+1
-1
1 addition, 1 deletion
src/database.c
with
1 addition
and
1 deletion
src/database.c
+
1
−
1
View file @
a6c4103d
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment