mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
setup: Make additional info available for force upgrading
This includes list of packages for which conffile prompts will be shown. For each package current version of the package, new version of the package and list of configuration files that were modified. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
7862325bb6
commit
ec68eb3d89
4 files changed
+56
-32
No files matched your search
@@ -104,7 +104,7 @@ def setup(helper, old_version=None):
|
||||
helper.call('post', actions.superuser_run, 'bind', ['setup'])
|
||||
|
||||
|
||||
def force_upgrade(helper):
|
||||
def force_upgrade(helper, _packages):
|
||||
"""Force upgrade the managed packages to resolve conffile prompt."""
|
||||
helper.install(managed_packages, force_configuration='old')
|
||||
|
||||
|
||||
Reference in new issue
Block a user