]> git.saurik.com Git - apt.git/blobdiff - doc/examples/apt-ftparchive.conf
give a descriptive error for pipe tries with 'false'
[apt.git] / doc / examples / apt-ftparchive.conf
index 657ec5440c6517bf13d3dfd05727fc7ea5d0bbf2..0e8bcb2ceb46456aaa0be740430f98f8dd5cf221 100644 (file)
@@ -7,11 +7,11 @@ Dir {
        CacheDir ".";
 };
 
-// Create Packages, Packages.gz and Packages.bz2, remove what you don't need
+// Create Packages, Packages.gz and Packages.xz, remove/add as needed
 Default {
-       Packages::Compress ". gzip bzip2";
-       Sources::Compress ". gzip bzip2";
-       Contents::Compress ". gzip bzip2";
+       Packages::Compress ". gzip xz";
+       Sources::Compress ". gzip xz";
+       Contents::Compress ". gzip xz";
 };
 
 // Includes the main section. You can structure the directory tree under
@@ -20,22 +20,22 @@ Default {
 // Contents file for these in the main section of the sid release
 BinDirectory "pool/main" {
        Packages "dists/sid/main/binary-i386/Packages";
-       SrcPackages "dists/sid/main/source/Sources";
-       Contents "dists/sid/Contents-i386";
+       Sources "dists/sid/main/source/Sources";
+       Contents "dists/sid/main/Contents-i386";
 }
 
 // This is the same for the contrib section
 BinDirectory "pool/contrib" {
        Packages "dists/sid/contrib/binary-i386/Packages";
-       SrcPackages "dists/sid/contrib/source/Sources";
-       Contents "dists/sid/Contents-i386";
+       Sources "dists/sid/contrib/source/Sources";
+       Contents "dists/sid/contrib/Contents-i386";
 }
 
 // This is the same for the non-free section
 BinDirectory "pool/non-free" {
        Packages "dists/sid/non-free/binary-i386/Packages";
-       SrcPackages "dists/sid/non-free/source/Sources";
-       Contents "dists/sid/Contents-i386";
+       Sources "dists/sid/non-free/source/Sources";
+       Contents "dists/sid/non-free/Contents-i386";
 };
 
 // By default all Packages should have the extension ".deb"