From b3d4250df2259d81d751220b1633c2d379e97d03 Mon Sep 17 00:00:00 2001 From: Veiko Aasa Date: Tue, 2 Feb 2021 10:30:01 +0200 Subject: [PATCH] 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 Reviewed-by: Fioddor Superconcentrado --- plinth/modules/mediawiki/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plinth/modules/mediawiki/__init__.py b/plinth/modules/mediawiki/__init__.py index 6bbb4e4fa..99befe518 100644 --- a/plinth/modules/mediawiki/__init__.py +++ b/plinth/modules/mediawiki/__init__.py @@ -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)