Missing define, check_chroot_call replaced

not really needed here, subprocess.call well tested
This commit is contained in:
demmm 2014-11-05 22:26:10 -05:00
parent 4c226fdaf3
commit a186c7e44b

View File

@ -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()