X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/5c2682d0effa4b0eef1f18b10757c547e2ba6225..ac3dee0e5091f19b77de96eec5241cb57c13f2a1:/methods/copy.cc diff --git a/methods/copy.cc b/methods/copy.cc index 8dd0bd3f5..027b59f46 100644 --- a/methods/copy.cc +++ b/methods/copy.cc @@ -13,7 +13,6 @@ #include #include #include -#include #include #include @@ -80,11 +79,12 @@ bool CopyMethod::Fetch(FetchItem *Itm) To.OpFail(); return _error->Errno("utime",_("Failed to set modification time")); } - + Hashes Hash; FileFd Fd(Res.Filename, FileFd::ReadOnly); Hash.AddFD(Fd.Fd(), Fd.Size()); Res.TakeHashes(Hash); + URIDone(Res); return true; }