summaryrefslogtreecommitdiff
path: root/apt-inst/deb
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-24 15:10:08 +0200
committerJulian Andres Klode <jak@debian.org>2016-10-05 21:53:38 +0200
commit00494fc8f913f91d9620736eb3afa4236ae71a6f (patch)
treea47ab6c630ef875776514a5980f030e8913c3727 /apt-inst/deb
parentf19cbb5bfae6327f64226d02476452561fd9cb4f (diff)
apt-inst: debfile: Pass comp. Name to ExtractTar, not Binary
In the old days, apt-inst used to use binaries, but now it uses the built-in support and matches using Name, and not a Binary. (cherry picked from commit 8a362893a18eca569f8b93c572aaf966572b9546)
Diffstat (limited to 'apt-inst/deb')
-rw-r--r--apt-inst/deb/debfile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-inst/deb/debfile.cc b/apt-inst/deb/debfile.cc
index 4853a13c7..474fb1cbe 100644
--- a/apt-inst/deb/debfile.cc
+++ b/apt-inst/deb/debfile.cc
@@ -113,7 +113,7 @@ bool debDebFile::ExtractTarMember(pkgDirStream &Stream,const char *Name)
Member = AR.FindMember(std::string(Name).append(c->Extension).c_str());
if (Member == NULL)
continue;
- Compressor = c->Binary;
+ Compressor = c->Name;
break;
}