mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
upgrades: Rewrite apt prefs file when activating backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
ca91120fdc
commit
2176ab97ad
@ -230,6 +230,8 @@ def _check_and_backports_sources():
|
|||||||
|
|
||||||
print(f'{dist}-backports is now available. Adding to sources.')
|
print(f'{dist}-backports is now available. Adding to sources.')
|
||||||
_add_backports_sources(SOURCES_LIST, protocol, dist)
|
_add_backports_sources(SOURCES_LIST, protocol, dist)
|
||||||
|
# In case of dist upgrade, rewrite the preferences file.
|
||||||
|
_add_apt_preferences()
|
||||||
|
|
||||||
|
|
||||||
def _add_apt_preferences():
|
def _add_apt_preferences():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user