aboutsummaryrefslogtreecommitdiffstats
path: root/security/clamav-devel
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2008-06-17 19:20:04 +0800
committergarga <garga@FreeBSD.org>2008-06-17 19:20:04 +0800
commit779956bdc9d51404665b81477c290979f36f7cc0 (patch)
tree8735b2cc1a2b101db73980597d0ae891ce3afe76 /security/clamav-devel
parentfc424021f634061516310349af61775084e1ea8d (diff)
downloadfreebsd-ports-gnome-779956bdc9d51404665b81477c290979f36f7cc0.tar.gz
freebsd-ports-gnome-779956bdc9d51404665b81477c290979f36f7cc0.tar.zst
freebsd-ports-gnome-779956bdc9d51404665b81477c290979f36f7cc0.zip
- Fix checking of database viruses at startup script that i broke on last
commit - Bump PORTREVISION again Submitted by: George L. Yermulnik <yz@iptcom.net> Pointyhat to: me
Diffstat (limited to 'security/clamav-devel')
-rw-r--r--security/clamav-devel/Makefile2
-rw-r--r--security/clamav-devel/files/clamav-clamd.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile
index f2c681ffd1f3..eff5a8213301 100644
--- a/security/clamav-devel/Makefile
+++ b/security/clamav-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= clamav
PORTVERSION= 20080520
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.clamav.net/snapshot/ \
${MASTER_SITE_LOCAL}
diff --git a/security/clamav-devel/files/clamav-clamd.in b/security/clamav-devel/files/clamav-clamd.in
index 91407131c4c1..657c2619398a 100644
--- a/security/clamav-devel/files/clamav-clamd.in
+++ b/security/clamav-devel/files/clamav-clamd.in
@@ -35,7 +35,7 @@ load_rc_config "$name"
start_precmd=clamav_clamd_precmd
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