diff options
author | Michael Vogt <mvo@debian.org> | 2014-04-22 16:21:05 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-04-22 16:21:05 +0200 |
commit | a298a1dc595c548e6c10b48b8e69d987e5be1c42 (patch) | |
tree | 75bbda565cefad82c558605da697ad91c820f165 /apt-pkg/aptconfiguration.cc | |
parent | 6f34deead51a1c200589994a4cf46b7d79a45e69 (diff) | |
parent | a268c98635f96a5ebb432c14f3c5ba6bbd605281 (diff) |
Merge remote-tracking branch 'upstream/debian/sid' into debian/sid
Diffstat (limited to 'apt-pkg/aptconfiguration.cc')
-rw-r--r-- | apt-pkg/aptconfiguration.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/aptconfiguration.cc b/apt-pkg/aptconfiguration.cc index 6ba047560..9982759c6 100644 --- a/apt-pkg/aptconfiguration.cc +++ b/apt-pkg/aptconfiguration.cc @@ -476,7 +476,7 @@ const Configuration::getCompressors(bool const Cached) { std::vector<std::string> const comp = _config->FindVector("APT::Compressor"); for (std::vector<std::string>::const_iterator c = comp.begin(); c != comp.end(); ++c) { - if (*c == "." || *c == "gzip" || *c == "bzip2" || *c == "lzma" || *c == "xz") + if (c->empty() || *c == "." || *c == "gzip" || *c == "bzip2" || *c == "lzma" || *c == "xz") continue; compressors.push_back(Compressor(c->c_str(), std::string(".").append(*c).c_str(), c->c_str(), "-9", "-d", 100)); } |