ChangeSet ID: 30235 CVSROOT: /opt/cvs-commit Module name: tools Changes by: jnewman@winehq.org 2006/12/01 10:35:01
Added files: . : mono.php
Log message: Jonathan Ernst jonathan@ernstfamily.ch - mono downloader script
Patch: http://cvs.winehq.org/patch.py?id=30235
Old revision New revision Changes Path Added 1.1 +0 -0 tools/mono.php
Index: tools/mono.php diff -u -p /dev/null tools/mono.php:1.1 --- /dev/null 1 Dec 2006 16:35: 1 -0000 +++ tools/mono.php 1 Dec 2006 16:35: 1 -0000 @@ -0,0 +1,27 @@ +<?php +/** + * Redirects to one of many URLs that have the Mono Windows installer available. + * + * Usage: + * mono.php + * (main usage, redirects to one of many URLs that have the Mono Windows installer available) + * + * mono.php?action=showlist + * (display a list of server and tells if the file is available for each server) + * + * Copyright (c) 2006 Jonathan Ernst + */ + + +// Name of the file +$sFileName = "mono-1.2.1-gtksharp-2.8.3-win32-1.exe"; + +// Exact size of the file: +$iFileSize = 46430421; + +// List of additional locations (commonly used locations are already in download.inc.php) +$aList = array("ftp://www.go-mono.com/archive/1.2.1/windows-installer/1/"); + +// Common code for Wine downloader scripts +require("download.inc.php"); +?>