X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/127e6df37213a1fda0dd5b44182acf678ccbbf02..4bec02c237e8e218bc7d4bcf7142e0450480138b:/methods/gzip.cc diff --git a/methods/gzip.cc b/methods/gzip.cc index 72e3ac909..5b9b66b50 100644 --- a/methods/gzip.cc +++ b/methods/gzip.cc @@ -55,7 +55,7 @@ bool GzipMethod::Fetch(FetchItem *Itm) return true; } - FileFd To(Itm->DestFile,FileFd::WriteEmpty); + FileFd To(Itm->DestFile,FileFd::WriteAtomic); To.EraseOnFailure(); if (_error->PendingError() == true) return false;