#!/bin/sh

if [ -f /var/tmp/freshclam.pid ]; then
	/bin/kill -TERM `/bin/cat /var/tmp/freshclam.pid`
fi
if [ -d /Library/Receipts/FreshClamDaemon-1.0.1.pkg ]; then
	rm -r /Library/Receipts/FreshClamDaemon-1.0.1.pkg
fi
if [ -d /Library/Receipts/FreshClamDaemon-1.0.2.pkg ]; then
	rm -r /Library/Receipts/FreshClamDaemon-1.0.2.pkg
fi
/Library/StartupItems/FreshClamDaemon/FreshClamDaemon start