From f26406daa4ef8e3c7b69ee1e5126e9274138d432 Mon Sep 17 00:00:00 2001 From: demmm Date: Mon, 27 Oct 2014 13:53:34 -0400 Subject: [PATCH] actually create a sddm.conf --- src/modules/displaymanager/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/displaymanager/main.py b/src/modules/displaymanager/main.py index 8d713729b..5309a4b22 100644 --- a/src/modules/displaymanager/main.py +++ b/src/modules/displaymanager/main.py @@ -136,7 +136,7 @@ def set_autologin(username, displaymanagers, root_mount_point): # Systems with Sddm as Desktop Manager sddm_conf_path = os.path.join(root_mount_point, "etc/sddm.conf") if sddm_conf_path != os.path.join(root_mount_point, "etc/sddm.conf") - check_chroot_call(["sddm", "--example-config"]) + check_chroot_call("sddm --example-config > etc/sddm.conf", shell=True) text = [] if os.path.exists(sddm_conf_path): with open(sddm_conf_path, 'r') as sddm_conf: