Hi All,
I hacked a few little changes into the install script, to allow for the
use of sourceforge mirrors, rather then the install.sisuite.org site for
downloads. Basically, if you put a --sfsite (site) on the command line,
it comes into action, rewrites the URLS from the stable.list or
devel.list into the corresponding (site).dl.sourceforge.net site. No
checking is done on what the user selects as their sfsite.. does it need it?
Here's the diff:
Index: install
===================================================================
RCS file: /cvsroot/sisuite/sisuite/install,v
retrieving revision 1.9
diff -r1.9 install
58a59,62
> #Stable using the sourceforge mirrors instead of install.sisuite.org
> [EMAIL PROTECTED]
> #stable-sf => 'http://www.majestik.org/~prg3/stable.list',
>
60a65
>
74a80
> "sfsite=s" => \$opt{sfsite}
185a192
> my $newurl;
191c198,204
<
---
>
>
> if ($opt{sfsite} && $url =~ m/install.sisuite.org/) {
> $url =~ s^http://install.sisuite.org/sourceforge^^;
> $url =
"http://$opt{sfsite}.dl.sourceforge.net/sourceforge" . $url;
> }
>
412c425
< [--list] [--package-list FILE] [--tag ($tags)]
---
> [--list] [--package-list FILE] [--tag ($tags)]
[--sfsite (sfsite)]
428a442,444
> --sfsite (mirror)
> Select to download via a sourceforge mirror, rather then
sisuite.org
> mirror need to be a valid sourceforge mirror (i.e. us or eu)
--
Paul Greidanus
CAD Administrator / Systems Administrator
Center of Excellence in Integrated Nanotools University of Alberta
[EMAIL PROTECTED] 780-492-7368
http://www.cein.ualberta.ca
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Sisuite-devel mailing list
Sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel