Fix displaymanager sddm config call.
This commit is contained in:
parent
90cd09b759
commit
1df44eddba
@ -139,7 +139,7 @@ def set_autologin(username, displaymanagers, root_mount_point):
|
|||||||
if os.path.isfile(sddm_conf_path):
|
if os.path.isfile(sddm_conf_path):
|
||||||
print('SDDM config file exists')
|
print('SDDM config file exists')
|
||||||
else:
|
else:
|
||||||
subprocess.call("sddm --example-config > etc/sddm.conf", shell=True)
|
libcalamares.utils.check_chroot_call("sddm --example-config > /etc/sddm.conf")
|
||||||
text = []
|
text = []
|
||||||
with open(sddm_conf_path, 'r') as sddm_conf:
|
with open(sddm_conf_path, 'r') as sddm_conf:
|
||||||
text = sddm_conf.readlines()
|
text = sddm_conf.readlines()
|
||||||
|
Loading…
Reference in New Issue
Block a user