summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:54:31 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:54:31 +0000
commit06b8cce6e76baf2ace4104ec2d367a6547e7184e (patch)
tree154149816eb9b3358179b2147a59de69d13cfb36
parentafd9aaf3f1751dde9ddb55dcdf3782a6aaeb4e97 (diff)
downloadapt-06b8cce6e76baf2ace4104ec2d367a6547e7184e.tar.gz
pre install
Author: jgg Date: 1999-08-05 05:56:25 GMT pre install
-rw-r--r--doc/apt.conf.5.yo7
-rw-r--r--doc/examples/apt.conf5
2 files changed, 11 insertions, 1 deletions
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