Browse Source

pre install
Author: jgg
Date: 1999-08-05 05:56:25 GMT
pre install

Arch Librarian 22 years ago
parent
commit
06b8cce6e7
2 changed files with 11 additions and 1 deletions
  1. 7 0
      doc/apt.conf.5.yo
  2. 4 1
      doc/examples/apt.conf

+ 7 - 0
doc/apt.conf.5.yo

@@ -201,6 +201,13 @@ This is a list of shell commands to run before/after invoking dpkg. Like
 bf(Options) this must be specified in list notation. The commands
 bf(Options) this must be specified in list notation. The commands
 are invoked in order using /bin/sh, should any fail APT will abort.
 are invoked in order using /bin/sh, should any fail APT will abort.
 
 
+dit(bf(BPre-Install-Pkgs))
+This is a list of shell commands to run before invoking dpkg. Like
+bf(Options) this must be specified in list notation. The commands
+are invoked in order using /bin/sh, should any fail APT will abort.
+Apt will pass to the commands on standard input the filenames of all
+.deb files it is going to install, one per line.
+
 dit(bf(Run-Directory))
 dit(bf(Run-Directory))
 APT chdirs to this directory before invoking dpkg, the default is /.
 APT chdirs to this directory before invoking dpkg, the default is /.
 
 

+ 4 - 1
doc/examples/apt.conf

@@ -1,4 +1,4 @@
-// $Id: apt.conf,v 1.34 1999/07/10 05:32:26 jgg Exp $
+// $Id: apt.conf,v 1.35 1999/08/05 05:56:25 jgg Exp $
 /* This file is an index of all APT configuration directives. It should
 /* This file is an index of all APT configuration directives. It should
    NOT actually be used as a real config file, though it is a completely
    NOT actually be used as a real config file, though it is a completely
    valid file.
    valid file.
@@ -173,6 +173,9 @@ DPkg
    
    
    // Build options for apt-get source --compile
    // Build options for apt-get source --compile
    Build-Options "-b -uc";
    Build-Options "-b -uc";
+
+   // Pre-configure all packages before they are installed using debconf.
+   Pre-Install-Pkgs {"dpkg-preconfig --apt --priority=low --frontend=dialog";};
 }
 }
 
 
 /* Options you can set to see some debugging text They corrispond to names
 /* Options you can set to see some debugging text They corrispond to names