mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 23:40:29 +03:00
yml srclibs: support multiline Prepare
This commit is contained in:
parent
58776da694
commit
1ac7d612b1
2 changed files with 39 additions and 0 deletions
|
|
@ -779,6 +779,8 @@ def parse_yml_srclib(metadatapath):
|
|||
else:
|
||||
if key == 'Subdir':
|
||||
thisinfo[key] = str(data[key] or '').split(',')
|
||||
elif key == 'Prepare' and isinstance(data[key], list):
|
||||
thisinfo[key] = ' && '.join(data[key])
|
||||
else:
|
||||
thisinfo[key] = str(data[key] or '')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue