From a6a0eaab90d5d4635a2e842c43c50681a61538d5 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 17 Jun 2008 11:20:04 +0000 Subject: - Fix checking of database viruses at startup script that i broke on last commit - Bump PORTREVISION again Submitted by: George L. Yermulnik Pointyhat to: me --- security/clamav/files/clamav-clamd.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'security/clamav/files/clamav-clamd.in') diff --git a/security/clamav/files/clamav-clamd.in b/security/clamav/files/clamav-clamd.in index 8adcc8f55466..d3d67d672bef 100644 --- a/security/clamav/files/clamav-clamd.in +++ b/security/clamav/files/clamav-clamd.in @@ -36,7 +36,7 @@ start_precmd=clamav_clamd_precmd #clamav .93 won't start without a valid main.c[vl]d file clamav_clamd_precmd() { - if [ ! -f %%DBDIR%%/main.cvd -a ! %%DBDIR%%/main.cld ];then + if [ ! -f %%DBDIR%%/main.cvd -a ! -f %%DBDIR%%/main.cld ];then echo "Missing %%DBDIR%%/clamav/*.cvd or *.cld files. You must run freshclam first" exit 1 fi -- cgit v1.2.3