move plugin call

This commit is contained in:
johannes.kaufmann
2019-10-28 08:43:09 +01:00
parent b5af63f3a3
commit e87a3846d8

View File

@@ -37,14 +37,14 @@ def ensure_user(username):
username username
]) ])
pm.hook.tljh_new_user_create(username=username)
subprocess.check_call([ subprocess.check_call([
'chmod', 'chmod',
'o-rwx', 'o-rwx',
expanduser('~{username}'.format(username=username)) expanduser('~{username}'.format(username=username))
]) ])
pm.hook.tljh_new_user_create(username=username)
def remove_user(username): def remove_user(username):
""" """