Browse Source

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.
Julian Andres Klode 7 years ago
parent
commit
8a362893a1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apt-inst/deb/debfile.cc

+ 1 - 1
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;
    }