path: root/licenses.d
diff options
authorYann E. MORIN" <>2010-11-28 23:26:39 (GMT)
committerYann E. MORIN" <>2010-11-28 23:26:39 (GMT)
commit28c5ee8baf8383a991199dc0a2d9734fccd14aba (patch)
treeeaceb4fc98cb6de7a4d14d595c4b2772f84928b2 /licenses.d
parentaf6dd3f3f0a81a39ed9bb595f70127845de5e3f6 (diff)
scripts: recover on partially downloaded files
Download to an intermediate temp file, and rename it to its final name only of download succeeds. This catches both a failed download, and also the case where the user interrupts the download. Thus, the a partial download gets discarded, and we no longer try to extract a partial tarball, which we would previously have done. Suggested by Thomas PETAZZONI. Signed-off-by: "Yann E. MORIN" <>
Diffstat (limited to 'licenses.d')
0 files changed, 0 insertions, 0 deletions