1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-20 18:50:17 +03:00

Fix for role directory name

This commit is contained in:
Игорь Чудов 2020-01-22 15:39:42 +04:00
parent 8b24e8912e
commit 414a27ed66
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -91,7 +91,7 @@ def fill_roles():
create_role(users, user_groups)
for rolename in roles:
role_path = pathlib.Path('/etc/role', '{}.d'.format(rolename))
role_path = pathlib.Path('/etc/role.d', '{}.d'.format(rolename))
rolegroups = get_rolegroups(role_path)