summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.cc
diff options
context:
space:
mode:
authormartin@piware.de <>2010-06-24 22:43:07 +0200
committermartin@piware.de <>2010-06-24 22:43:07 +0200
commit7aeee3653d7d0dc34769bb74a2bf4824b438834f (patch)
tree01594723a6986ce7125ce6ab3db8a633438b1099 /apt-pkg/acquire-item.cc
parentc19625e7dc99caea960c91b1ce6dc999ec6f4ed4 (diff)
apt-pkg/acquire-item.cc: Fix handling of local (file:/) sources
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r--apt-pkg/acquire-item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index 9abdb0ad0..a506aa9aa 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -757,7 +757,7 @@ void pkgAcqIndex::Done(string Message,unsigned long Size,string Hash,
string decompProg;
// If we enable compressed indexes and already have gzip, keep it
- if (_config->FindB("Acquire::GzipIndexes",false) && compExt == "gz") {
+ if (_config->FindB("Acquire::GzipIndexes",false) && compExt == "gz" && !Local) {
string FinalFile = _config->FindDir("Dir::State::lists");
FinalFile += URItoFileName(RealURI) + ".gz";
//if(Debug)