mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-04 08:13:38 +00:00
upgrades: Allow FreedomBox vendor when adding backports
Fixes: #2294. Tests: - In stable container, when frequent feature updates option is enabled, /etc/apt/sources.list.d/freedombox2.list exists as expected. - Matrix Synapse can be installed. - Shaarli can be installed. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
63b2e2a380
commit
f0fd3d9132
@ -249,7 +249,8 @@ def _check_and_backports_sources(develop=False):
|
||||
with open('/etc/dpkg/origins/default', 'r',
|
||||
encoding='utf-8') as default_origin:
|
||||
matches = [
|
||||
re.match(r'Vendor:\s+Debian', line, flags=re.IGNORECASE)
|
||||
re.match(r'Vendor:\s+(Debian|FreedomBox)', line,
|
||||
flags=re.IGNORECASE)
|
||||
for line in default_origin.readlines()
|
||||
]
|
||||
except FileNotFoundError:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user