summaryrefslogtreecommitdiff
path: root/ftparchive/contents.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ftparchive/contents.cc')
-rw-r--r--ftparchive/contents.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/ftparchive/contents.cc b/ftparchive/contents.cc
index 3801995bd..1f2cbcc3d 100644
--- a/ftparchive/contents.cc
+++ b/ftparchive/contents.cc
@@ -314,7 +314,12 @@ bool ContentsExtract::Read(debDebFile &Deb)
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;
}