Просмотр исходного кода

* apt-pkg/deb/debsrcrecords.cc:
- support xz-compressed source v3 debian.tar files

David Kalnischkies лет назад: 15
Родитель
Сommit
5df1167621
2 измененных файлов с 5 добавлено и 2 удалено
  1. 2 1
      apt-pkg/deb/debsrcrecords.cc
  2. 3 1
      debian/changelog

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

+ 3 - 1
debian/changelog

@@ -15,8 +15,10 @@ apt (0.8.11.6) UNRELEASED; urgency=low
     - include xz-compressed Packages and Sources files in Release file
   * apt-pkg/aptconfiguration.cc:
     - support download of xz-compressed indexes files
+  * apt-pkg/deb/debsrcrecords.cc:
+    - support xz-compressed source v3 debian.tar files
 
- -- David Kalnischkies <kalnischkies@gmail.com>  Tue, 22 Feb 2011 18:10:30 +0100
+ -- David Kalnischkies <kalnischkies@gmail.com>  Tue, 22 Feb 2011 18:14:17 +0100
 
 apt (0.8.11.5) unstable; urgency=low