Merge pull request #139 from kkofler/fix-sddm-chroot-call

displaymanager: Run "sddm --example-config > /etc/sddm.conf" in a shell.
main
Teo Mrnjavac 10 years ago
commit 0dfc536dee

@ -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:
libcalamares.utils.check_chroot_call("sddm --example-config > /etc/sddm.conf") libcalamares.utils.check_chroot_call(["sh", "-c", "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…
Cancel
Save