[displaymanager] Fix call in LightDM code
- The parameter list was wrong, and could never have worked (apparently noone mixes LightDM with basic setup, even though it's one of the few with basic_setup()). - Shorten some lines.
This commit is contained in:
parent
858c959285
commit
c3219a4905
@ -541,13 +541,9 @@ class DMlightdm(DisplayManager):
|
||||
]
|
||||
)
|
||||
|
||||
libcalamares.utils.target_env_call('passwd', '-l', 'lightdm')
|
||||
libcalamares.utils.target_env_call(
|
||||
['chown', '-R', 'lightdm:lightdm', '/run/lightdm']
|
||||
)
|
||||
libcalamares.utils.target_env_call(
|
||||
['chmod', '+r' '/etc/lightdm/lightdm.conf']
|
||||
)
|
||||
libcalamares.utils.target_env_call(['passwd', '-l', 'lightdm'])
|
||||
libcalamares.utils.target_env_call(['chown', '-R', 'lightdm:lightdm', '/run/lightdm'])
|
||||
libcalamares.utils.target_env_call(['chmod', '+r' '/etc/lightdm/lightdm.conf'])
|
||||
|
||||
def desktop_environment_setup(self, default_desktop_environment):
|
||||
os.system(
|
||||
|
Loading…
Reference in New Issue
Block a user