mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-23 18:35:44 -05: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):
|
||||
print('SDDM config file exists')
|
||||
else:
|
||||
check_chroot_call("sddm --example-config > etc/sddm.conf", shell=True)
|
||||
subprocess.call("sddm --example-config > etc/sddm.conf", shell=True)
|
||||
text = []
|
||||
with open(sddm_conf_path, 'r') as sddm_conf:
|
||||
text = sddm_conf.readlines()
|
||||
|
|
Loading…
Add table
Reference in a new issue