Ok, I just reread my diff, and realised how much cruft I left in there
from a few other ideas on how to implement..
This one should work better:
Index: install
===================================================================
RCS file: /cvsroot/sisuite/sisuite/install,v
retrieving revision 1.9
diff -r1.9 install
74a75
> "sfsite=s" => \$opt{sfsite}
191c192,196
<
---
> if ($opt{sfsite} && $url =~ m/install.sisuite.org/) {
> $url =~ s^http://install.sisuite.org/sourceforge^^;
> $url =
"http://$opt{sfsite}.dl.sourceforge.net/sourceforge" . $url;
> }
>
412c417
< [--list] [--package-list FILE] [--tag ($tags)]
---
> [--list] [--package-list FILE] [--tag ($tags)]
[--sfsite (sfsite)]
428a434,436
> --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 wrote:
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?
--
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