`fdroid nightly` needs this change so it can set the Summary using the
template.
with open('template.yml') as f:
metatxt = f.read()
if 'name' in apk and apk['name'] != '':
with open('template.yml') as f:
metatxt = f.read()
if 'name' in apk and apk['name'] != '':
- metatxt = re.sub(r'^(((Auto)?Name|Summary):).*$',
+ metatxt = re.sub(r'''^(((Auto)?Name|Summary):)[ '"\.]*$''',
r'\1 ' + apk['name'],
metatxt,
flags=re.IGNORECASE | re.MULTILINE)
r'\1 ' + apk['name'],
metatxt,
flags=re.IGNORECASE | re.MULTILINE)