summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/ConfFile.hs
AgeCommit message (Collapse)Author
2019-04-08Fix bug in File.containsShellSettingJoey Hess
It replaced whole shell conffile content with the setting if the file did not previously contain a line setting the key to some value. InsertSection is passed the whole content of the file, which does not contain the section yet (here the section is a single line). Probably this was not noticed because it's common for a shell config file to contain default values, so the buggy InsertSection rarely gets used. This commit was sponsored by Ethan Aubin.
2018-06-16add ConfFile.containsShellSetting & ConfFile.lacksShellSettingSean Whitton
Code adapted from Grub.configured. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
2017-07-17Propellor.Property.LightDM.autoLogin: Made revertable.Joey Hess
* Propellor.Property.LightDM.autoLogin: Made revertable. (minor API change) * Propellor.Property.Conffile: Added lacksIniSetting. This commit was sponsored by Jack Hill on Patreon.
2017-07-05Added Propellor.Property.FreeDesktop module.Joey Hess
This commit was sponsored by Trenton Cronholm on Patreon.
2016-06-20ConfFile: cosmetic fixesFélix Sipma
2016-06-20ConfFile.hasIniSection: add missing headerFélix Sipma
2016-06-15ConfFile: export hasIniSectionFélix Sipma
2016-06-13ConfFile: add hasIniSection propertyFélix Sipma
2016-03-25ported moreJoey Hess
Ssh is WIP and failing to compile quite badly
2015-10-10propellor spinJoey Hess
2015-09-13Follow some hlint suggestions.Mario Lang
2015-08-20avoid bad haddock renderingJoey Hess
2015-08-20add lacksIniSectionJoey Hess
2015-08-20headersJoey Hess
2015-08-20propellor spinJoey Hess
2015-08-20layoutJoey Hess
2015-08-20ConfFile.containsIniPair propertySean Whitton
plus scaffolding for other generic conf file properties (cherry picked from commit 86b077b7a21efd5484dfaeee3c31fc5f3c151f6c)