HCoop
/
ntk
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27299da
)
* apt-pkg/acquire-item.cc:
author
Michael Vogt
<michael.vogt@ubuntu.com>
Wed, 14 Jun 2006 09:59:47 +0000
(11:59 +0200)
committer
Michael Vogt
<michael.vogt@ubuntu.com>
Wed, 14 Jun 2006 09:59:47 +0000
(11:59 +0200)
- added missing chmod() calls, thanks to Bastian Blank
apt-pkg/acquire-item.cc
patch
|
blob
|
blame
|
history
diff --git
a/apt-pkg/acquire-item.cc
b/apt-pkg/acquire-item.cc
index
f22daaf
..
a51b6f1
100644
(file)
--- a/
apt-pkg/acquire-item.cc
+++ b/
apt-pkg/acquire-item.cc
@@
-540,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) {
@@
-958,6
+959,7
@@
void pkgAcqMetaIndex::RetrievalDone(string Message)
// Move it into position
Rename(DestFile,FinalFile);
}
+ chmod(FinalFile.c_str(),0644);
DestFile = FinalFile;
}