]> git.saurik.com Git - apt-legacy.git/blobdiff - ftparchive/contents.cc
Checkpointing APT notes and fixed a minor error issue in new memory map code.
[apt-legacy.git] / ftparchive / contents.cc
index 9efef97816b516080fc1402bfd56ccbbdbe81360..f0162d5a3e155d98fb7f3c94cf82766f059a73c3 100644 (file)
@@ -314,7 +314,12 @@ bool ContentsExtract::Read(debDebFile &Deb)
       Compressor = "bzip2";
    }
    if (Member == 0) {
       Compressor = "bzip2";
    }
    if (Member == 0) {
-      _error->Error(_("Internal error, could not locate member %s"),"data.tar.gz");
+      Member = Deb.GotoMember("data.tar.lzma");
+      Compressor = "lzma";
+   }
+   if (Member == 0) {
+      _error->Error(_("Internal error, could not locate member %s"),
+                   "data.tar.{gz,bz2,lzma}");
       return false;
    }
       
       return false;
    }