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-13 09:07:16.000000000 -0700 +++ mezzanine_patched_smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-failed 2007-02-13 09:06:15.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 '${/---/bz;H;:z;x;p};:r;/---/{n;/---/br;h;b};H' | tai64nlocal | \ +tac /var/log/freshclam/current | sed -n '1,/---/p' | tac | tai64nlocal | sed '/---/d;s/\.[0-9]\{9\}//' \ 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-13 09:07:16.000000000 -0700 +++ mezzanine_patched_smeserver-clamav-1.2.0/root/sbin/e-smith/freshclam-update-ok 2007-02-13 09:07:01.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 '${/---/bz;H;:z;x;p};:r;/---/{n;/---/br;h;b};H' | tai64nlocal | \ +#tac /var/log/freshclam/current | sed -n '1,/---/p' | tac | tai64nlocal | sed '/---/d;s/\.[0-9]\{9\}//' \ # mail -s 'freshclam: Virus patterns updated' admin exit 0