summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debsrcrecords.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-02-22 18:13:20 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-02-22 18:13:20 +0100
commit255bfa26bb3f4ffcf372e4b2b9c95113083c7cd6 (patch)
tree0197e73d2acb695ebcf4ae8b85e0dda90a00c943 /apt-pkg/deb/debsrcrecords.cc
parentcd5b597cc855a535b35e88324191931c54c6fba0 (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;