summaryrefslogtreecommitdiff
path: root/apt-inst
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-08-26 22:17:55 +0200
commit8a362893a18eca569f8b93c572aaf966572b9546 (patch)
treef508723fd67a337a62e7b0dab24ae278b094f71c /apt-inst
parent4aa8cc9127bdf5837b51b49d917c4ac229b2c540 (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.
Diffstat (limited to 'apt-inst')
-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;
}