forked from Mirror/pmbootstrap
pmb.helpers.git: fix get_upstream_remote() (MR 2496)
Fixes bec2a4b154
[ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
bec2a4b154
commit
215dfcc663
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ def get_upstream_remote(aports: Path) -> str:
|
|||
urls = pmb.config.git_repos[name_repo]
|
||||
lines = list_remotes(aports)
|
||||
for line in lines:
|
||||
if any(u.lower() in line for u in urls):
|
||||
if any(u.lower() in line.lower() for u in urls):
|
||||
return line.split("\t", 1)[0]
|
||||
|
||||
# Fallback to old URLs, in case the migration was not done yet
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue