]> git.saurik.com Git - apt.git/blobdiff - doc/examples/configure-index
You can't just assume the start is always zero :/.
[apt.git] / doc / examples / configure-index
index 8e8110d94aa71e9ab66b4934ca0e02c6eef98bc6..2d0fb6c64b4565821a302b9e2a93aed367bd7089 100644 (file)
@@ -88,6 +88,16 @@ APT
      Post-Invoke {"touch /var/lib/apt/post-update-stamp"; };
   };
 
+  // define a new supported compressor on the fly
+  APT::Compressor::rev {
+     Name "rev";
+     Extension ".reversed";
+     Binary "rev";
+     CompressArg {};
+     UncompressArg {};
+     Cost "10";
+  };
+
   Authentication
   {
      TrustCDROM "false";            // consider the CD-ROM always trusted
@@ -451,7 +461,12 @@ Debug
   RunScripts "false";      // debug invocation of external scripts  
 }
 
-pkgCacheGen::Essential "native"; // other modes: all, none, installed
+pkgCacheGen
+{
+  Essential "native"; // other modes: all, none, installed
+  ForceEssential { "apt"; };
+  ForceImportant "";
+}
 
 /* Whatever you do, do not use this configuration file!! Take out ONLY
    the portions you need! */