calamares: fix chown commands in openmamba-postinstall
This commit is contained in:
parent
0a1e76c942
commit
3e766fd130
@ -25,7 +25,7 @@ def run():
|
|||||||
libcalamares.utils.chroot_call(['mkdir', '-p', '/home/%s/.config/autostart' % username ])
|
libcalamares.utils.chroot_call(['mkdir', '-p', '/home/%s/.config/autostart' % username ])
|
||||||
libcalamares.utils.chroot_call(['ln', '-s', '/usr/share/openmamba/mambabase/mambabase-autostart.desktop',
|
libcalamares.utils.chroot_call(['ln', '-s', '/usr/share/openmamba/mambabase/mambabase-autostart.desktop',
|
||||||
'/home/%s/.config/autostart/mambabase.desktop' % username ])
|
'/home/%s/.config/autostart/mambabase.desktop' % username ])
|
||||||
libcalamares.utils.chroot_call(['chown', '-R ', '%s:users' % username, '/home/%s' % username ])
|
libcalamares.utils.chroot_call(['chown', '-R', '%s:users' % username, '/home/%s' % username ])
|
||||||
libcalamares.utils.chroot_call(['chown', '-R ', '%s:users' % username, '/home/%s/.config' % username ])
|
libcalamares.utils.chroot_call(['chown', '-R', '%s:users' % username, '/home/%s/.config' % username ])
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user