diff options
author | Joey Hess <joeyh@joeyh.name> | 2019-04-08 11:13:56 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2019-04-08 11:14:04 -0400 |
commit | 35435e16b63771c65f8223ff3fd2580cc8bad856 (patch) | |
tree | 54f665d1e6b2d7051d1fbe5c4f5f7ccdc47be314 /debian | |
parent | 7f59e2b84488243fa6b646f0b4bbb23ce2393cee (diff) |
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 'debian')
-rw-r--r-- | debian/changelog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 553a663b..988c3641 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +propellor (5.7.1) UNRELEASED; urgency=medium + + * Fix bug in File.containsShellSetting that replaced whole shell conffile + content with the setting if the file did not previously contain a line + setting the key to some value. + + -- Joey Hess <id@joeyh.name> Mon, 08 Apr 2019 11:09:04 -0400 + propellor (5.7.0) unstable; urgency=medium * Sbuild.built no longer includes Apt.stdSourcesList by default, |