updated lightdm conf. Added new line to conf file if file exits

This commit is contained in:
hasan.kara 2020-12-17 17:06:07 +03:00
parent b167499416
commit 61256b4503

View file

@ -577,7 +577,7 @@ class Registration:
self.util.create_file(pardus_xfce_path) self.util.create_file(pardus_xfce_path)
file_lightdm = open(pardus_xfce_path, 'a') file_lightdm = open(pardus_xfce_path, 'a')
file_lightdm.write("[Seat:*]") file_lightdm.write("[Seat:*]\n")
file_lightdm.write("greeter-hide-users=true") file_lightdm.write("greeter-hide-users=true")
file_lightdm.close() file_lightdm.close()
self.logger.info("lightdm.conf has been configured.") self.logger.info("lightdm.conf has been configured.")