mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-28 18:05:36 -04:00
Missing define, check_chroot_call replaced
not really needed here, subprocess.call well tested
This commit is contained in:
parent
4c226fdaf3
commit
a186c7e44b
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,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:
|
||||||
check_chroot_call("sddm --example-config > etc/sddm.conf", shell=True)
|
subprocess.call("sddm --example-config > etc/sddm.conf", shell=True)
|
||||||
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…
Add table
Add a link
Reference in a new issue