mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 01:15:38 -04:00
Fix commit d5d74fbdcd
We need to pass default_desktop_environment if we won't use automatic desktop detection.
This commit is contained in:
parent
96d863b22b
commit
6a70029198
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ def find_desktop_environment(root_mount_point):
|
||||||
return desktop_environment
|
return desktop_environment
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def set_autologin(username, displaymanagers, root_mount_point):
|
def set_autologin(username, displaymanagers, default_desktop_environment, root_mount_point):
|
||||||
""" Enables automatic login for the installed desktop managers """
|
""" Enables automatic login for the installed desktop managers """
|
||||||
|
|
||||||
if "mdm" in displaymanagers:
|
if "mdm" in displaymanagers:
|
||||||
|
@ -322,6 +322,6 @@ def run():
|
||||||
if username != None:
|
if username != None:
|
||||||
libcalamares.utils.debug(
|
libcalamares.utils.debug(
|
||||||
"Setting up autologin for user %s." % username)
|
"Setting up autologin for user %s." % username)
|
||||||
return set_autologin(username, displaymanagers, root_mount_point)
|
return set_autologin(username, displaymanagers, default_desktop_environment, root_mount_point)
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue