The following commit has been merged in the master branch:
commit fb19987b470000badb3c55a674f66244e12d8f7a
Author: Guillem Jover <[email protected]>
Date:   Sat Aug 22 02:18:59 2009 +0200

    man: Document DPKG_MAINTSCRIPT_PACKAGE environment variable

diff --git a/debian/changelog b/debian/changelog
index e24b5cc..b5935c8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,6 +35,8 @@ dpkg (1.15.4) UNRELEASED; urgency=low
     (/etc/dpkg/dpkg.cfg.d and /etc/dpkg/dselect.cfg.d respectively).
   * Define DPKG_MAINTSCRIPT_ARCH on the maintainer script environment to the
     architecture the package got built for.
+  * Document DPKG_MAINTSCRIPT_PACKAGE maintainer script environment variable
+    in dpkg man page.
 
   [ Raphael Hertzog ]
   * Replace install-info by a wrapper around GNU's install-info. The wrapper
diff --git a/man/dpkg.1 b/man/dpkg.1
index fa24be1..d22d802 100644
--- a/man/dpkg.1
+++ b/man/dpkg.1
@@ -610,6 +610,10 @@ The program \fBdpkg\fP will execute when starting a new 
shell.
 Sets the number of columns \fBdpkg\fP should use when displaying formatted
 text. Currently only used by \-l.
 .TP
+.B DPKG_MAINTSCRIPT_PACKAGE
+Defined by \fBdpkg\fP on the maintainer script environment to the
+package name being handled.
+.TP
 .B DPKG_MAINTSCRIPT_ARCH
 Defined by \fBdpkg\fP on the maintainer script environment to the
 architecture the package got built for.

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to