It's not elegant, but it works. You can ^C out of a download, or even
say "give up" on a particular item, and it merely moves on to the next
one. This lets you fetch as much as possible while you're online, so
you can build offline (except the still-missing pieces, of course).
--- /sw/lib/perl5/Fink/Engine.pm-DIST Tue Dec 11 08:53:39 2001
+++ /sw/lib/perl5/Fink/Engine.pm Thu Jan 31 08:45:38 2002
@@ -445,7 +445,10 @@
$version = &latest_version($package->list_versions());
$vo = $package->get_version($version);
if (defined $vo) {
- $vo->phase_fetch(1);
+ eval {
+ $vo->phase_fetch(1);
+ };
+ warn "$@" if $@; # turn fatal exceptions into warnings
}
}
}
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel