On 11/19/2013 12:14 AM, Elias Persson wrote:
> On 2013-11-18 21:38, Paul Robert Marino wrote:
>> well if you want that then you need to create a bash script for cron 
>> to execute
>> in the script you put the output of the yum command to a variable via
>> a back tick and then you use an if statement to check the results of
>> $? to determine whether to echo the contents of the variable to
>> standard out triggering cron to send an email, or to unset the
>> variable and exit.
>>
>
> That seems to work.
>
>   output="$(yum --disablerepo='*' install kedddrnel 2>&1)"
>   echo "RC: $?"
>   echo "Output:"
>   echo "$output"
>
> (at least in bash)

I believe I've gotten the behaviour fixed.

I've tossed the updated package into SL6's testing repo (sl-testing).

Source at:
https://cdcvs.fnal.gov/redmine/projects/scientificlinux/repository/yum-autoupdate

-- 
Pat Riehecky

Scientific Linux developer
http://www.scientificlinux.org/