mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-03 10:50:20 +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:
|
||||
for line in lines:
|
||||
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')
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user