mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 01:45:36 -04:00
create sddm.conf if not present
This commit is contained in:
parent
ee2ed0921e
commit
972fe23131
1 changed files with 2 additions and 0 deletions
|
@ -135,6 +135,8 @@ def set_autologin(username, displaymanagers, root_mount_point):
|
|||
if "sddm" in displaymanagers:
|
||||
# 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"])
|
||||
text = []
|
||||
if os.path.exists(sddm_conf_path):
|
||||
with open(sddm_conf_path, 'r') as sddm_conf:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue