mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
upgrades: Ensure freedombox package is upgraded during dist upgrade
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
993be1086e
commit
66b0238146
@ -434,6 +434,11 @@ def _perform_dist_upgrade():
|
||||
print('Restarting FreedomBox service...', flush=True)
|
||||
service_restart('plinth')
|
||||
|
||||
# Finally, run unattended-upgrade once more in a separate process
|
||||
# to handle upgrading the freedombox package.
|
||||
print('Running unattended-upgrade in separate process...', flush=True)
|
||||
_run()
|
||||
|
||||
|
||||
def subcommand_setup(_):
|
||||
"""Setup apt preferences."""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user