Sophos IDE autoupdate

Julian Field jkf at ecs.soton.ac.uk
Thu Mar 7 09:21:15 GMT 2002


At 20:43 06/03/2002, you wrote:
>Julian Field wrote:
>
>>At 15:12 06/03/2002, you wrote:
>>
>>>standard dat file: vdl-3.55.dat
>>>enhanced dat file: vdl-3.55n.dat
>>>Creating a symlink of vdl-3.55.dat -> vdl-3.55n.dat serves as a
>>>workaround, but seems a bit kludgy.
>>
>>
>>Edit the Sophos autoupdate, and change line 26 from
>>         next unless $vdlname =~ /^vdl-(\d+)\.(\d+)\.dat$/;
>>to
>>         next unless $vdlname =~ /^vdl-(\d+)\.(\d+)n?\.dat$/;
>>
>>That version of the code will work on the normal and NSV variants of
>>Sophos.
>
>
>That fixes the autoupdate issue with determining the version number, but
>doesn't quite get all of it. I updated the script and removed the
>symlink I'd created to test it out. Inside the daily ide directory,
>vdl.dat is still symlinked back to ../lib/vdl-3.55.dat. It looks like
>the optional 'n' character isn't being preserved in $MinorVer.

Sorry. Try this instead
         next unless $vdlname =~ /^vdl-(\d+)\.(\d+n?)\.dat$/;
--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list