]> git.saurik.com Git - apt.git/blobdiff - doc/examples/configure-index
show right binary name in simulation notice
[apt.git] / doc / examples / configure-index
index db85654cacaedce8ee775c9d59cd247bcd86d227..dc579c3946ce5631b52656417ed5164462d299c4 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
@@ -107,6 +117,9 @@ APT
   // be installed by default
   Install-Recommends "true";
   Install-Suggests "false";
+  // reverse Recommends or Suggests prevent autoremoval
+  AutoRemove::RecommendsImportant "true";
+  AutoRemove::SuggestsImportant "true";
 
   // consider dependencies of packages in this section manual
   Never-MarkAuto-Sections {"metapackages"; "universe/metapackages"; };