forked from Mirror/pmbootstrap
find_providers: set higher provider_priority (MR 2301)
For packages selected by the user (see last commit), set the provider_priority to 999999 instead of 999. The previous number seems not high enough, we might set this in the APKBUILDs.
This commit is contained in:
parent
56a4329f4f
commit
fd1331c2bc
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ def find_providers(provide, default):
|
|||
# Strip provides version (=$pkgver-r$pkgrel)
|
||||
if provides.split("=", 1)[0] == provide:
|
||||
if subpkgname in default:
|
||||
subpkg["provider_priority"] = 999
|
||||
subpkg["provider_priority"] = 999999
|
||||
providers[subpkgname] = subpkg
|
||||
|
||||
return sorted(providers.items(), reverse=True, key=lambda p: p[1].get("provider_priority", 0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue