Subject: Re: Why PKG_RESUME_TRANSFER force to try fetch again?
To: NetBSD Packages Technical Discussion List <tech-pkg@netbsd.org>
From: OBATA Akio <obata@lins.jp>
List: tech-pkg
Date: 08/01/2007 00:24:36
--On 2007-7-31 11:02 -0400 "Johnny C. Lam" <jlam@buildlink.org> wrote:

> If PKG_RESUME_TRANSFERS=yes, then it's possible that the file existing on
> the local file system is incomplete.  It forces the do-fetch-file target
> to run, which checks the size of the file to determine whether it should
> resume an interrupted fetch.

If ${DISTDIR}/xxx exists, resume fetch also has been completed.