diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/apt.conf.5.yo | 9 | ||||
-rw-r--r-- | doc/examples/apt.conf | 3 |
2 files changed, 9 insertions, 3 deletions
diff --git a/doc/apt.conf.5.yo b/doc/apt.conf.5.yo index feb7bbe53..89eb9e61e 100644 --- a/doc/apt.conf.5.yo +++ b/doc/apt.conf.5.yo @@ -165,8 +165,13 @@ This is a list of options to pass to dpkg. The options must be specified using the list notation and each list item is passed as a single arugment to dpkg. -dit(bf(Pre-Invoke)) -This is a list of shell commands to run before invoking dpkg. +dit(bf(Pre-Invoke, (bf(Post-Invoke)) +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(Run-Directory)) +APT chdirs to this directory before invoking dpkg, the default is /. enddit() diff --git a/doc/examples/apt.conf b/doc/examples/apt.conf index 9e92fd454..8cf5b0b17 100644 --- a/doc/examples/apt.conf +++ b/doc/examples/apt.conf @@ -1,4 +1,4 @@ -// $Id: apt.conf,v 1.23 1999/01/31 08:49:39 jgg Exp $ +// $Id: apt.conf,v 1.24 1999/01/31 08:55:53 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. @@ -120,6 +120,7 @@ DPkg { Options {"--force-downgrade";} Pre-Invoke {"mount -o remount,rw /usr";}; Post-Invoke {"mount -o remount,ro /usr";}; + Run-Direcotry "/"; } /* Options you can set to see some debugging text They corrispond to names |