Package: mythtv-status Version: 0.10.2-3 Severity: normal Hi Andrew,
I configured my mythtv-status package on wheezy to send me an email when a scheduling conflict is found. Unfortunately, there's a typo in the daily cronjob and it creates cron spam: /etc/cron.daily/mythtv-status: Unknown option: -email-only-on-alert Use --help for help. Usage: mythtv-status [options] Attached is a patch for it. Cheers, Francois
>From 1e7b683be3a0959659f94c70f50160aed2c0f343 Mon Sep 17 00:00:00 2001 From: Francois Marier <franc...@debian.org> Date: Mon, 1 Apr 2013 00:39:28 -0400 Subject: [PATCH] Fix typo in argument name Without this fix, the daily cronjob would fail with the following error message: /etc/cron.daily/mythtv-status: Unknown option: -email-only-on-alert Use --help for help. Usage: mythtv-status [options] --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index 54aee1e..59c324c 100644 --- a/debian/postinst +++ b/debian/postinst @@ -14,7 +14,7 @@ case "$1" in DEBIANCONFIG=/etc/default/$PACKAGE # Default to --email-only-on-alert but allow it be unset in the config file. - EMAIL_ARGS="---email-only-on-alert" + EMAIL_ARGS="--email-only-on-alert" # load current settings, most of which will be overwritten. [ -f $DEBIANCONFIG ] && . $DEBIANCONFIG -- 1.7.9.5