1
0
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:
Richard de Boer 2022-08-30 21:38:07 +02:00 committed by Hans-Christoph Steiner
parent 5968cfe7e0
commit cdbd76c876

View File

@ -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: