antivir-autoupdate broken ? (bug found - Solved)
Jan-Peter Koopmann
Jan-Peter.Koopmann at SECEIDOS.DE
Wed Oct 20 09:13:34 IST 2004
On Wednesday, October 20, 2004 8:57 AM MailScanner mailing list wrote:
> Where can i find the new version of antivir-autoupdate ?
Once the port is committed: In the portstree. It probably will be
version 4.38_1.
If you are not using FreeBSD you can apply this diff:
--- antivir-autoupdate.sample Fri Oct 15 16:36:45 2004
+++ antivir-autoupdate Tue Oct 19 15:41:39 2004
@@ -9,7 +9,8 @@
$PackageDir = shift || "/usr/lib/AntiVir";
-$AntiVirUpdateCommand = "$PackageDir/antivir --update";
+$AntiVirCommand = "$PackageDir/antivir";
+$AntiVirUpdateCommand = "$AntiVirCommand --update";
$LockFile = "/tmp/AntiVirBusy.lock";
@@ -24,7 +25,7 @@
BailOut("Installation dir \"$PackageDir\" does not exist!")
unless $PackageDir ne "" && -d $PackageDir;
-if (-x $AntiVirUpdateCommand) {
+if (-x $AntiVirCommand) {
# Timeout prevention
$SIG{ALRM} = sub { die "timeout"};
This should work.
Regards,
JP
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
More information about the MailScanner
mailing list