This fix is quite important as debconf answers are not currently parsed properly.
Thankfully, the fix is quite trivial:
--- a/send-reminders +++ b/send-reminders @@ -131,6 +131,8 @@ sub read_config s/\s+$//; # no trailing white next unless length; # anything left? my ($var, $value) = split(/\s*=\s*/, $_, 2); + $value = 1 if $value eq 'true' or $value eq 'yes'; + $value = 0 if $value eq 'false' or $value eq 'no'; $preferences{$var} = $value; } close $config_fh;
This fix is quite important as debconf answers are not currently parsed properly.
Thankfully, the fix is quite trivial:
--- a/send-reminders
s/ \s+$//; # no trailing white
$ preferences{ $var} = $value;
+++ b/send-reminders
@@ -131,6 +131,8 @@ sub read_config
next unless length; # anything left?
my ($var, $value) = split(/\s*=\s*/, $_, 2);
+ $value = 1 if $value eq 'true' or $value eq 'yes';
+ $value = 0 if $value eq 'false' or $value eq 'no';
}
close $config_fh;