mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
scanner: fix local Debian Maven repo handling
The resulting regex was 'https?://file:///usr/share/maven-repo' causing scanner error.
This commit is contained in:
parent
c7cd731833
commit
3a7ad650e3
@ -110,7 +110,9 @@ def scan_source(build_dir, build=metadata.Build()):
|
||||
's3.amazonaws.com/repo.commonsware.com', # CommonsWare
|
||||
'plugins.gradle.org/m2', # Gradle plugin repo
|
||||
'maven.google.com', # Google Maven Repo, https://developer.android.com/studio/build/dependencies.html#google-maven
|
||||
'file:///usr/share/maven-repo', # local repo on Debian installs
|
||||
]
|
||||
] + [re.compile(r'^file://' + re.escape(repo) + r'/*') for repo in [
|
||||
'/usr/share/maven-repo', # local repo on Debian installs
|
||||
]
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user