Add AVG Updates to Updxlrator

This commit is contained in:
Arne Fitzenreiter
2008-05-02 23:44:55 +02:00
parent 6765511505
commit 4ae86474bd
4 changed files with 19 additions and 0 deletions

View File

@@ -5,3 +5,6 @@ usr/bin/dc
opt/pakfire/lib/functions.pl
var/ipfire/urlfilter/bin/prebuild.pl
srv/web/ipfire/cgi-bin/urlfilter.cgi
srv/web/ipfire/cgi-bin/updatexlrator.cgi
srv/web/ipfire/html/images/updxl-src-avg.gif
usr/sbin/updxlrator

View File

@@ -154,6 +154,16 @@ while (<>) {
{
$from_local_cache = &cache_access($dsturl,$hostaddr,$username,"Apple");
}
# -----------------------------------------------------------
# Section: AVG Downloads
# -----------------------------------------------------------
if ($dsturl =~ m@^http://[^/]*\.(grisoft|avg)\.com/.*\.(bin)$@i)
{
$from_local_cache = &cache_access($dsturl,$hostaddr,$username,"AVG");
}
# -----------------------------------------------------------
# Section: Kaspersky Downloads

View File

@@ -458,6 +458,9 @@ END
} elsif ($metadata[1] eq 'Avira')
{
print "<img src='/images/updxl-src-avira.gif' alt='Avira' />&nbsp;</td>\n";
} elsif ($metadata[1] eq 'AVG')
{
print "<img src='/images/updxl-src-avg.gif' alt='AVG' />&nbsp;</td>\n";
} elsif ($metadata[1] eq 'Avast')
{
print "<img src='/images/updxl-src-avast.gif' alt='Avast' />&nbsp;</td>\n";
@@ -555,6 +558,9 @@ print <<END
<td align='center'><img src='/images/updxl-src-avira.gif' alt='Avira' /></td>
<td class='base'>Avira</td>
<td class='base'>&nbsp;</td>
<td align='center'><img src='/images/updxl-src-avg.gif' alt='AVG' /></td>
<td class='base'>AVG</td>
<td class='base'>&nbsp;</td>
<td align='center'><img src='/images/updxl-src-apple.gif' alt='Apple' /></td>
<td class='base'>Apple</td>
<td class='base'>&nbsp;</td>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB