HomeFreeBSD

fetchindex: do not leave a corrupted INDEX

Description

fetchindex: do not leave a corrupted INDEX

When extracting the fetched index, do it in a temporary file, and only
when extraction succeed, move it to the final file, it makes it more
atomic and less likely to live a corrupted file behind

PR: 224871

Details

Provenance
baptAuthored on Nov 8 2021, 2:58 PM
Parents
R11:5c19309678ed: security/clamav-lts: Fix plist error
Branches
Unknown
Tags
Unknown