1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Fix error message that is showing a wrong dir

Reported by:	Will McCutcheon <will@toyingwithfate.com>
This commit is contained in:
Renato Botelho 2013-07-13 20:40:50 +00:00
parent 094773d683
commit 4e3dd6c86c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322970
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ start_precmd=clamav_clamd_precmd
clamav_clamd_precmd() {
if [ ! -f %%DBDIR%%/main.cvd -a ! -f %%DBDIR%%/main.cld ];then
echo "Missing %%DBDIR%%/clamav/*.cvd or *.cld files. You must run freshclam first"
echo "Missing %%DBDIR%%/*.cvd or *.cld files. You must run freshclam first"
exit 1
fi
}

View File

@ -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 ! -f %%DBDIR%%/main.cld ];then
echo "Missing %%DBDIR%%/clamav/*.cvd or *.cld files. You must run freshclam first"
echo "Missing %%DBDIR%%/*.cvd or *.cld files. You must run freshclam first"
exit 1
fi
}