summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debsrcrecords.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-02-22 18:17:44 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-02-22 18:17:44 +0100
commit5df11676215a3e9d6fbb335d99dd37ecba8e4cdd (patch)
tree997ec06e547a7dba621adec3c233ff88b3fbacba /apt-pkg/deb/debsrcrecords.cc
parentb2430e6d1713e26d461f08873ac872918eb28283 (diff)
parent255bfa26bb3f4ffcf372e4b2b9c95113083c7cd6 (diff)
* apt-pkg/deb/debsrcrecords.cc:
- support xz-compressed source v3 debian.tar files
Diffstat (limited to 'apt-pkg/deb/debsrcrecords.cc')
-rw-r--r--apt-pkg/deb/debsrcrecords.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/deb/debsrcrecords.cc b/apt-pkg/deb/debsrcrecords.cc
index 21336e1af..3809ee74f 100644
--- a/apt-pkg/deb/debsrcrecords.cc
+++ b/apt-pkg/deb/debsrcrecords.cc
@@ -144,7 +144,8 @@ bool debSrcRecordParser::Files(vector<pkgSrcRecords::File> &List)
}
F.Type = string(F.Path,Tmp+1,Pos-Tmp);
- if (F.Type == "gz" || F.Type == "bz2" || F.Type == "lzma" || F.Type == "tar")
+ if (F.Type == "gz" || F.Type == "bz2" || F.Type == "lzma" ||
+ F.Type == "xz" || F.Type == "tar")
{
Pos = Tmp-1;
continue;