[displaymanager] It's not fatal to have no DM

- If a distro provides an install-scenario that doesn't provide a DM,
   (e.g. via netinstall) then that should be ok; if there **is** a DM
   it should be configured.

FIXES: #1095
This commit is contained in:
Adriaan de Groot 2019-02-22 16:38:02 -05:00
parent be5abf08dc
commit e366e7d83a

View File

@ -768,11 +768,11 @@ def run():
displaymanagers.remove(dm) displaymanagers.remove(dm)
if not dm_impl: if not dm_impl:
return ( libcalamares.utils.warning(
_("No display managers selected for the displaymanager module."), "No display managers selected for the displaymanager module. "
_("The list is empty after checking for installed display managers.") "The list is empty after checking for installed display managers."
) )
return None
# Pick up remaining settings # Pick up remaining settings
if "defaultDesktopEnvironment" in libcalamares.job.configuration: if "defaultDesktopEnvironment" in libcalamares.job.configuration: