[dpkg] 84/200: man: Document that dpkg sets DPKG_ADMINDIR on maintainer scripts environment
Ximin Luo
infinity0 at debian.org
Wed Apr 5 15:17:21 UTC 2017
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository dpkg.
commit 49b71bcfc8c42e88e564007a2c8639be075b0e54
Author: Guillem Jover <guillem at debian.org>
Date: Mon Dec 19 02:35:41 2016 +0100
man: Document that dpkg sets DPKG_ADMINDIR on maintainer scripts environment
---
debian/changelog | 1 +
man/dpkg.man | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index e85be87..931149f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ dpkg (1.18.17) UNRELEASED; urgency=medium
* Documentation:
- Clarify that dpkg-buildpackage does not run «dpkg-source --before-build»
when using the -T option. Closes: #649531
+ - Document that dpkg sets DPKG_ADMINDIR on maintainer script environment.
* Packaging:
- Do not let dh_perl insert a dependency for libdpkg-perl, because it
emits perl instead of perl:any. Instead hardcode a perl:any dependency
diff --git a/man/dpkg.man b/man/dpkg.man
index 68e0663..c11bf2f 100644
--- a/man/dpkg.man
+++ b/man/dpkg.man
@@ -902,6 +902,11 @@ this variable empty, but if \fB\-\-force\-script\-chrootless\fP is
specified then the \fBchroot\fP(2) call is skipped and \fBinstdir\fP
is non-empty.
.TP
+.B DPKG_ADMINDIR
+Defined by \fBdpkg\fP on the maintainer script environment to indicate
+the \fBdpkg\fP administrative directory to use (since dpkg 1.16.0).
+This variable is always set to the current \fB\-\-admindir\fP value.
+.TP
.B DPKG_SHELL_REASON
Defined by \fBdpkg\fP on the shell spawned on the conffile prompt to
examine the situation (since dpkg 1.15.6).
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git
More information about the Reproducible-commits
mailing list