diff --git a/plinth/modules/bind/__init__.py b/plinth/modules/bind/__init__.py index 77d162dd3..b29b76839 100644 --- a/plinth/modules/bind/__init__.py +++ b/plinth/modules/bind/__init__.py @@ -104,6 +104,11 @@ def setup(helper, old_version=None): helper.call('post', actions.superuser_run, 'bind', ['setup']) +def force_upgrade(helper): + """Force upgrade the managed packages to resolve conffile prompt.""" + helper.install(managed_packages, force_configuration='old') + + def enable(): """Enable the module.""" actions.superuser_run('service', ['enable', managed_services[0]])