From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8451 invoked from network); 7 Feb 2004 22:07:36 +0000 Received: from smtp.gentoo.org (128.193.0.39) by eagle.gentoo.oregonstate.edu with DES-CBC3-SHA encrypted SMTP; 7 Feb 2004 22:07:36 +0000 Received: from lists.gentoo.org ([128.193.0.34] helo=eagle.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.24) id 1Apabv-0007HM-QM for arch-gentoo-portage-dev@lists.gentoo.org; Sat, 07 Feb 2004 22:07:35 +0000 Received: (qmail 14723 invoked by uid 50004); 7 Feb 2004 22:07:34 +0000 Mailing-List: contact gentoo-portage-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-portage-dev@lists.gentoo.org X-BeenThere: gentoo-portage-dev@gentoo.org Received: (qmail 10347 invoked from network); 7 Feb 2004 22:07:34 +0000 From: Jeff Smelser To: gentoo-portage-dev@lists.gentoo.org Date: Sat, 7 Feb 2004 16:07:24 -0600 User-Agent: KMail/1.5.4 References: <200402071318.47224.thomas@horsten.com> <20040207170418.GA558@hx.se> <20040207171757.GA16817@gentoo.org> In-Reply-To: <20040207171757.GA16817@gentoo.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200402071607.27581.tradergt@smelser.org> Subject: Re: [gentoo-portage-dev] emerge feature request: Downloads managed by lock file system X-Archives-Salt: 25bc25b2-fae9-4489-8569-50a294e810a8 X-Archives-Hash: 858526de39507b7c564fa2e5272e92b1 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 07 February 2004 11:17 am, Sven Vermeulen wrote: > A quick 'n dirty hack in the FETCHCOMMAND should suffice. Something along > the lines of (pseudocode): > > FETCHCOMMAND=3D"if exists \${DISTDIR}/`basename \${URL}.lck`; then skip; = else > \ touch \${DISTDIR}/`basename \${URL}.lck`; \ > /usr/bin/wget ...; \ > rm \${DISTDIR}/`basename \${URL}.lck`; fi" I tried this, and got: Calculating world dependencies ...done! >>> emerge (1 of 4) net-libs/c-client-2002e-r2 to / >>> Downloading http://gentoo.oregonstate.edu/distfiles/imap-2002e.tar.Z [c-client-2002e-r2] bash: line 1: exists: command not found [c-client-2002e-r2] bash: line 2: =A0: command not found [c-client-2002e-r2] bash: line 3: =A0: command not found [c-client-2002e-r2] bash: line 4: =A0: command not found >>> Downloading=20 http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/imap-200= 2e.tar.Z [c-client-2002e-r2] bash: line 1: exists: command not found [c-client-2002e-r2] bash: line 2: =A0: command not found [c-client-2002e-r2] bash: line 3: =A0: command not found [c-client-2002e-r2] bash: line 4: =A0: command not found >>> Downloading ftp://ftp.cac.washington.edu/imap/imap-2002e.tar.Z [c-client-2002e-r2] bash: line 1: exists: command not found [c-client-2002e-r2] bash: line 2: =A0: command not found [c-client-2002e-r2] bash: line 3: =A0: command not found [c-client-2002e-r2] bash: line 4: =A0: command not found !!! Couldn't download imap-2002e.tar.Z. Aborting. =2D --=20 =46ailure is not an option. It comes bundled with your Microsoft product. =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAJWGfld4MRA3gEwYRAnLwAJ9WgjQRUWddfcpn5yaGPiRV0KPeZQCcC+9G 2U0sZY2CXBiSVEvurcPBNkk=3D =3Dwbaz =2D----END PGP SIGNATURE----- -- gentoo-portage-dev@gentoo.org mailing list