[Yum-devel] Making yum-cron send mail only if something changed

Ville Skyttä ville.skytta at iki.fi
Sat Oct 1 06:33:37 UTC 2011


On 09/29/2011 08:46 PM, Ville Skyttä wrote:
> On 09/29/2011 07:41 AM, seth vidal wrote:
> 
>> http://skvidal.fedorapeople.org/misc/nag-once.py
> 
> Looks like something that would work fine for me, thanks.
> 
> Attached is a patch with some improvements:
> - Get rid of dependency on hashlib
> - Make dir names less likely to clash, add nag-once prefix
> - Don't wait for input on tty stdin on error (e.g. usage)

One more fix attached: don't print empty input to avoid empty mail being
sent.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nag-once-noinput.patch
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20111001/666316c4/attachment.ksh>


More information about the Yum-devel mailing list