samba: Keep create_group in setup

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy 2019-12-01 14:03:58 -05:00
parent da39f593f1
commit b5cb35fb91
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -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)