Package: cron-apt Version: 0.4.15 Severity: wishlist Hi,
I have one system that updates clamav-data from cron-apt, and thus updates multiple times daily. This is implemented by having /etc/cron-apt/action.d/4-install-clamav-data with the contents --assume-yes install clamav-data. This, of course, sends mail multiple times daily. It would be great to be able to configure cron-apt to only send mail if this call of $APTCOMMAND has given a non-zero exit code, as if an error happened. This could be implemented by having a keyword inside the action.d file or in the action.d file name (for example, action.d/q4-install-clamav-data, triggering on the file name starting with "q"), and by an additional condition in the output block starting at "No error has occurred". I would be willing to submit a patch once you have indicated which way to indicate that this action.d item has to be quiet if no error occured. Greetings Marc -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

