SDDM-config: allow poorly formatted SDDM config
SDDM itself doesn't trip over duplicate sections or keys, but the Python config-parser does (in strict mode). Relax a bit. FIXES #579
This commit is contained in:
parent
36950f6dd9
commit
59588672ed
@ -320,7 +320,7 @@ def set_autologin(username,
|
||||
# Systems with Sddm as Desktop Manager
|
||||
sddm_conf_path = os.path.join(root_mount_point, "etc/sddm.conf")
|
||||
|
||||
sddm_config = configparser.ConfigParser()
|
||||
sddm_config = configparser.ConfigParser(strict=False)
|
||||
# Make everything case sensitive
|
||||
sddm_config.optionxform = str
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user