summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.cc
diff options
context:
space:
mode:
authorMichael Vogt <egon@bottom>2006-08-15 16:15:58 +0200
committerMichael Vogt <egon@bottom>2006-08-15 16:15:58 +0200
commit3d5f395664fdff700646ffecf9c0e026e97e8825 (patch)
tree7fc94f211eefb9eb4a468459735820b359f8dbdf /apt-pkg/acquire-item.cc
parent7610bb3db43c6dd9062cb57c01415022e14f3fc7 (diff)
parentd4a7a408559193d80843cef66231216fb58770a4 (diff)
* merged debian-sid
* updated changelog
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r--apt-pkg/acquire-item.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index 84760a514..9e9f5c2a6 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -135,6 +135,7 @@ void pkgAcquire::Item::Rename(string From,string To)
}
/*}}}*/
+
// AcqDiffIndex::AcqDiffIndex - Constructor
// ---------------------------------------------------------------------
/* Get the DiffIndex file first and see if there are patches availabe
@@ -539,6 +540,7 @@ void pkgAcqIndexDiffs::Done(string Message,unsigned long Size,string Md5Hash,
<< DestFile << " -> " << FinalFile << std::endl;
}
Rename(DestFile,FinalFile);
+ chmod(FinalFile.c_str(),0644);
// see if there is more to download
if(available_patches.size() > 0) {
@@ -981,6 +983,7 @@ void pkgAcqMetaIndex::RetrievalDone(string Message)
// Move it into position
Rename(DestFile,FinalFile);
}
+ chmod(FinalFile.c_str(),0644);
DestFile = FinalFile;
}