diff -Nur -x '*.orig' -x '*.rej' smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-failed mezzanine_patched_smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-failed --- smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-failed 2007-02-12 11:50:36.000000000 -0700 +++ mezzanine_patched_smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-failed 2007-02-12 11:49:42.000000000 -0700 @@ -17,7 +17,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #---------------------------------------------------------------------- -tail -200 /var/log/freshclam/current | sed -n '${x;p};/freshclam daemon/{h;b};H' | tai64nlocal | \ +tail -200 /var/log/freshclam/current | sed -n '${/---/bz;H;:z;x;p};:r;/---/{n;/---/br;h;b};H' | tai64nlocal | \ mail -s 'freshclam: Update failed' admin exit 0 diff -Nur -x '*.orig' -x '*.rej' smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-ok mezzanine_patched_smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-ok --- smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-ok 2007-02-12 11:50:36.000000000 -0700 +++ mezzanine_patched_smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-ok 2007-02-12 11:49:31.000000000 -0700 @@ -17,7 +17,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #---------------------------------------------------------------------- -#tail -200 /var/log/freshclam/current | sed -n '${x;p};/freshclam daemon/{h;b};H' | tai64nlocal | \ +#tail -200 /var/log/freshclam/current | sed -n '${/---/bz;H;:z;x;p};:r;/---/{n;/---/br;h;b};H' | tai64nlocal | \ # mail -s 'freshclam: Virus patterns updated' admin exit 0