mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
Include { in Origins-Pattern regex pattern.
This commit is contained in:
parent
6292b47e54
commit
cd057994d3
@ -107,7 +107,7 @@ def setup():
|
|||||||
with open(CONF_FILE, 'w') as conffile:
|
with open(CONF_FILE, 'w') as conffile:
|
||||||
for line in lines:
|
for line in lines:
|
||||||
conffile.write(line)
|
conffile.write(line)
|
||||||
if re.match(r'\s*Unattended-Upgrade::Origins-Pattern', line):
|
if re.match(r'\s*Unattended-Upgrade::Origins-Pattern\s+{', line):
|
||||||
conffile.write(' "origin=Debian";\n')
|
conffile.write(' "origin=Debian";\n')
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user