From 06b8cce6e76baf2ace4104ec2d367a6547e7184e Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:54:31 +0000 Subject: [PATCH 1/1] pre install Author: jgg Date: 1999-08-05 05:56:25 GMT pre install --- doc/apt.conf.5.yo | 7 +++++++ doc/examples/apt.conf | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/apt.conf.5.yo b/doc/apt.conf.5.yo index a91fc929a..77015a431 100644 --- a/doc/apt.conf.5.yo +++ b/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 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)) APT chdirs to this directory before invoking dpkg, the default is /. diff --git a/doc/examples/apt.conf b/doc/examples/apt.conf index da9bc1d96..a84fc1079 100644 --- a/doc/examples/apt.conf +++ b/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 NOT actually be used as a real config file, though it is a completely valid file. @@ -173,6 +173,9 @@ DPkg // Build options for apt-get source --compile 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 -- 2.45.2