]> git.saurik.com Git - apt.git/commitdiff
apt-inst: debfile: Pass comp. Name to ExtractTar, not Binary
authorJulian Andres Klode <jak@debian.org>
Wed, 24 Aug 2016 13:10:08 +0000 (15:10 +0200)
committerJulian Andres Klode <jak@debian.org>
Fri, 26 Aug 2016 20:17:55 +0000 (22:17 +0200)
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.

apt-inst/deb/debfile.cc

index 4853a13c7ebd3c404a467da40b75ba8c0a11757f..474fb1cbe94a02af2f315b5ca2c1c9c929d04792 100644 (file)
@@ -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;
    }