mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-23 18:35:44 -05:00
Merge pull request #139 from kkofler/fix-sddm-chroot-call
displaymanager: Run "sddm --example-config > /etc/sddm.conf" in a shell.
This commit is contained in:
commit
0dfc536dee
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ def set_autologin(username, displaymanagers, root_mount_point):
|
|||
if os.path.isfile(sddm_conf_path):
|
||||
print('SDDM config file exists')
|
||||
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 = []
|
||||
with open(sddm_conf_path, 'r') as sddm_conf:
|
||||
text = sddm_conf.readlines()
|
||||
|
|
Loading…
Add table
Reference in a new issue