diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-10-08 09:16:59 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-10-08 09:44:06 +0200 |
commit | 021eb71775bfa5b998d4f6006422691bc90fb799 (patch) | |
tree | bad46aeea8b1128838dea7b8a912411041af0880 /apt-pkg/acquire-item.cc | |
parent | 9c4e6026c498078aa223eae95f2c9752cb45525c (diff) |
pkgAcqArchive::QueueNext(): change owner/permission of DestFile
The code was using FinalFile before but we only test the existance
of DestFile so we use that instead.
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r-- | apt-pkg/acquire-item.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index f630129b9..1ff3e32dc 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -2480,7 +2480,7 @@ bool pkgAcqArchive::QueueNext() else { PartialSize = Buf.st_size; - ChangeOwnerAndPermissionOfFile("pkgAcqArchive::QueueNext", FinalFile.c_str(), "_apt", "root", 0600); + ChangeOwnerAndPermissionOfFile("pkgAcqArchive::QueueNext", DestFile.c_str(), "_apt", "root", 0600); } } |