From b5cb35fb916bbe385b575411bb14a01f71624bf9 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Sun, 1 Dec 2019 14:03:58 -0500 Subject: [PATCH] samba: Keep create_group in setup Signed-off-by: James Valleroy --- plinth/modules/samba/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plinth/modules/samba/__init__.py b/plinth/modules/samba/__init__.py index ca8b25f9b..5c1636855 100644 --- a/plinth/modules/samba/__init__.py +++ b/plinth/modules/samba/__init__.py @@ -28,7 +28,7 @@ from plinth import action_utils, actions from plinth import app as app_module from plinth import frontpage, menu from plinth.daemon import Daemon -from plinth.modules.users import register_group +from plinth.modules.users import create_group, register_group from plinth.modules.firewall.components import Firewall from plinth.utils import format_lazy @@ -104,6 +104,7 @@ def init(): def setup(helper, old_version=None): """Install and configure the module.""" helper.install(managed_packages) + create_group('freedombox-share') helper.call('post', actions.superuser_run, 'samba', ['setup']) helper.call('post', app.enable)