mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-11 01:40:11 +01:00
update: follow symlinks when scanning for fastlane
For apps with different build flavours: This way they can e.g. have different descriptions per flavour, but use symlinks to share changelogs, instead of duplicating files.
This commit is contained in:
parent
5968cfe7e0
commit
cdbd76c876
@ -954,7 +954,7 @@ def insert_localized_app_metadata(apps):
|
|||||||
for srcd in sorted(sourcedirs):
|
for srcd in sorted(sourcedirs):
|
||||||
if not os.path.isdir(srcd):
|
if not os.path.isdir(srcd):
|
||||||
continue
|
continue
|
||||||
for root, dirs, files in os.walk(srcd):
|
for root, dirs, files in os.walk(srcd, followlinks=True):
|
||||||
segments = root.split('/')
|
segments = root.split('/')
|
||||||
packageName = segments[1]
|
packageName = segments[1]
|
||||||
if packageName not in apps:
|
if packageName not in apps:
|
||||||
|
Loading…
Reference in New Issue
Block a user