From e366e7d83ac99f768b0bbb4c5c33966de876b388 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Fri, 22 Feb 2019 16:38:02 -0500 Subject: [PATCH] [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 --- src/modules/displaymanager/main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/displaymanager/main.py b/src/modules/displaymanager/main.py index 08eeb6fdb..4413aefbb 100644 --- a/src/modules/displaymanager/main.py +++ b/src/modules/displaymanager/main.py @@ -768,11 +768,11 @@ def run(): displaymanagers.remove(dm) if not dm_impl: - return ( - _("No display managers selected for the displaymanager module."), - _("The list is empty after checking for installed display managers.") + libcalamares.utils.warning( + "No display managers selected for the displaymanager module. " + "The list is empty after checking for installed display managers." ) - + return None # Pick up remaining settings if "defaultDesktopEnvironment" in libcalamares.job.configuration: