New extension/host for Avast 7.x/8.x Scanner versions

This patch fix the source url for Avast and add a new host (ion)
and a new extension (vpx) to support Avast 7.x/8.x Scanner updates.
This commit is contained in:
Joern-Ingo Weigert
2013-03-06 10:55:04 +01:00
parent 30086585ed
commit 5150d3730a

View File

@@ -149,7 +149,7 @@ while (<>) {
# Section: Avast Downloads
# -----------------------------------------------------------
if ($source_url =~ m@^http://download[\d]+\.avast\.com/.*\.(exe|vpu)$@i)
if ($source_url =~ m@^http://(ion|download)[\d]+\.avast\.com/.*\.(exe|vpu|vpx)$@i)
{
$xlrator_url = &check_cache($source_url,$hostaddr,$username,"Avast",$mirror);
}