Re: offline downloading...

Ewan Mac Mahon <[email protected]> Fri, 25 Oct 2002 15:45:33 +0100
Newsgroups gmane.linux.gentoo.newbies
Message-ID <[email protected]>
On Fri, Oct 25, 2002 at 04:30:01PM +0200, David Obwaller wrote:
> On Fri, Oct 25, 2002 at 02:44:17PM +0100, Ewan Mac Mahon wrote:
> > FETCHCOMMAND='echo ${URI} >> /root/fetchurls'
> > 
> 
> does this also work safely if a package has multiple SRC_URIs?
>
I've not actually tried it, but I can't see why not. The idea of the
FETCHCOMMAND setting is to enable you to replace wget; emerge is going to
have to call it multiple times for a multi URI package even if it's using
the default wget so there should be no difference with this.

What I didn't mention is that once you've got the tarballs and dumped them
in /usr/portage/distfiles running emerge again will see that they're
already there and not try to do the fetch stage again, so you don't even 
need to change the FETCHCOMMAND setting back.

Ewan