From 5d54446efcbbb275a5f5bff5faf778f7a84c2528 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 6 Dec 2017 22:33:46 +0100 Subject: [PATCH] update: do not replace Name/Summary from template unless blank `fdroid nightly` needs this change so it can set the Summary using the template. --- fdroidserver/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/update.py b/fdroidserver/update.py index 71c4e430..097513bf 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -1670,7 +1670,7 @@ def create_metadata_from_template(apk): 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) -- 2.30.2