mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
mediawiki: Fix app installation process doesn't display status information
During 'setup' and 'update' post installation calls, the mediawiki app page doesn't show any status information. Use the call name 'post' instead so that the 'Performing post-install operation' message is displayed on the app page. Fixes #2024 Tested that all the mediawiki app tests pass on first app installation. Signed-off-by: Veiko Aasa <veiko17@disroot.org> Reviewed-by: Fioddor Superconcentrado <fioddor@gmail.com>
This commit is contained in:
parent
1f04720c7a
commit
b3d4250df2
@ -106,8 +106,8 @@ class Shortcut(frontpage.Shortcut):
|
||||
def setup(helper, old_version=None):
|
||||
"""Install and configure the module."""
|
||||
helper.install(managed_packages)
|
||||
helper.call('setup', actions.superuser_run, 'mediawiki', ['setup'])
|
||||
helper.call('update', actions.superuser_run, 'mediawiki', ['update'])
|
||||
helper.call('post', actions.superuser_run, 'mediawiki', ['setup'])
|
||||
helper.call('post', actions.superuser_run, 'mediawiki', ['update'])
|
||||
helper.call('post', app.enable)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user