actually create a sddm.conf
This commit is contained in:
parent
972fe23131
commit
f26406daa4
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user