diff options
author | Julian Andres Klode <jak@debian.org> | 2018-12-10 17:35:33 +0000 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2018-12-10 17:35:33 +0000 |
commit | d57834a36e6adebbad28819360a984819995b376 (patch) | |
tree | 36a39bad37db8082f26427659817d882a6b0b8d8 /doc | |
parent | 294b5e77a25d2600e7f3ce12a996d1694b5be817 (diff) | |
parent | 806e94dcd8dbdf7bf1909657fd4331cfe17b4ab0 (diff) |
Merge branch 'pu/dpkg-path' into 'master'
Set PATH=/usr/sbin:/usr/bin:/sbin:/bin when running dpkg
See merge request apt-team/apt!38
Diffstat (limited to 'doc')
-rw-r--r-- | doc/apt.conf.5.xml | 7 | ||||
-rw-r--r-- | doc/examples/configure-index | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/apt.conf.5.xml b/doc/apt.conf.5.xml index 64a26bc4a..ffbcba5a4 100644 --- a/doc/apt.conf.5.xml +++ b/doc/apt.conf.5.xml @@ -776,6 +776,13 @@ APT::Compressor::rev { using the list notation and each list item is passed as a single argument to &dpkg;.</para></listitem> </varlistentry> + + <varlistentry><term><option>Path</option></term> + <listitem><para>This is a string that defines the <envar>PATH</envar> + environment variable used when running dpkg. It may be set to any + valid value of that environment variable; or the empty string, in + which case the variable is not changed.</para></listitem> + </varlistentry> <varlistentry><term><option>Pre-Invoke</option></term><term><option>Post-Invoke</option></term> <listitem><para>This is a list of shell commands to run before/after invoking &dpkg;. diff --git a/doc/examples/configure-index b/doc/examples/configure-index index 3dd6e0afc..743e676de 100644 --- a/doc/examples/configure-index +++ b/doc/examples/configure-index @@ -462,6 +462,10 @@ DPkg // Probably don't want to use force-downgrade.. Options {"--force-overwrite";"--force-downgrade";} + // Defaults to /usr/sbin:/usr/bin:/sbin:/bin, might be set to empty + // string to inherit from environment + Path "<STRING>"; + // Auto re-mounting of a readonly /usr Pre-Invoke {"mount -o remount,rw /usr";}; Post-Invoke {"mount -o remount,ro /usr";}; |