[Bug 344021] Re: Please sync email-reminder 0.7.5-2 (universe) from Debian unstable (main)

François Marier francois at debian.org
Tue Mar 17 01:50:12 UTC 2009


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;

-- 
Please sync email-reminder 0.7.5-2 (universe) from Debian unstable (main)
https://bugs.launchpad.net/bugs/344021
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list