From: maniacikarus Date: Tue, 28 Aug 2007 11:03:30 +0000 (+0000) Subject: Erster Versuch fuer Update Booster und Apple X-Git-Tag: v3.0-alpha1~1344 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dfb38e6a9672c45394f77dc792a2dc0f12c1900;p=ipfire-3.x.git Erster Versuch fuer Update Booster und Apple git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@850 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- diff --git a/config/updxlrator/updxlrator b/config/updxlrator/updxlrator index 019e20f5f..4d98cccce 100644 --- a/config/updxlrator/updxlrator +++ b/config/updxlrator/updxlrator @@ -145,7 +145,17 @@ while (<>) { } # ----------------------------------------------------------- - + + # ----------------------------------------------------------- + # Section: Apple Downloads + # ----------------------------------------------------------- + + if ($dsturl =~ m@^[f|h]t?tp://swcdn\.apple.*\.(pkm|tar)$@i) + { + $from_local_cache = &cache_access($dsturl,$hostaddr,$username,"Apple"); + } + + # ----------------------------------------------------------- } diff --git a/html/cgi-bin/updatexlrator.cgi b/html/cgi-bin/updatexlrator.cgi index 2c2623e12..afca525b7 100644 --- a/html/cgi-bin/updatexlrator.cgi +++ b/html/cgi-bin/updatexlrator.cgi @@ -465,6 +465,9 @@ END } elsif ($metadata[1] eq 'IPFire') { print "IPFire \n"; + } elsif ($metadata[1] eq 'Appel') + { + print "Apple \n"; } elsif ($metadata[1] eq 'Linux') { print "Linux \n"; @@ -549,6 +552,10 @@ print <  Avira Avira +   + Apple + Apple +     @@ -563,6 +570,10 @@ print <  $Lang::tr{ $Lang::tr{'updxlrtr unknown'} +   + + +   END diff --git a/html/html/images/updxl-src-apple.gif b/html/html/images/updxl-src-apple.gif new file mode 100644 index 000000000..c5f75e3af Binary files /dev/null and b/html/html/images/updxl-src-apple.gif differ