[displaymanager] re-add lightdm_conf_path to 'if lightdm'

This commit is contained in:
Philip 2017-06-28 10:35:32 +02:00
parent 82626d7639
commit e57107187c

View File

@ -266,6 +266,9 @@ def set_autologin(username,
# Ideally, we should use configparser for the ini conf file,
# but we just do a simple text replacement for now, as it
# worksforme(tm)
lightdm_conf_path = os.path.join(
root_mount_point, "etc/lightdm/lightdm.conf"
)
text = []
if os.path.exists(lightdm_conf_path):