Download to a '.part' file and rename on successmaster
commit02bf59c51e3b6f3457480ef3be7192760c0fab00
authorThomas Leonard <talex5@gmail.com>
Sun, 27 Nov 2011 12:00:49 +0000 (27 12:00 +0000)
committerThomas Leonard <talex5@gmail.com>
Sun, 27 Nov 2011 12:09:40 +0000 (27 12:09 +0000)
tree2385ead56e31845097d572ead121f8547176691c
parent17402c3afcd81962c68f9debc39d14b07d504854
Download to a '.part' file and rename on success

This avoids the problem where a download is aborted part way through and
pkg2zero sees the half-written file next time and tries to use it.

Reported by Jan-Hendrik Peters.
pkg2zero