|author||Joey Hess||2019-04-08 11:13:56 -0400|
|committer||Joey Hess||2019-04-08 11:14:04 -0400|
Fix bug in File.containsShellSetting
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.
Diffstat (limited to 'src/Propellor/Property/Bootstrap.hs')
0 files changed, 0 insertions, 0 deletions