Explorar o código

man: Document DPKG_HOOK_ACTION also in ENVIRONMENT section

Guillem Jover %!s(int64=11) %!d(string=hai) anos
pai
achega
648beca3fb
Modificáronse 2 ficheiros con 6 adicións e 0 borrados
  1. 1 0
      debian/changelog
  2. 5 0
      man/dpkg.1

+ 1 - 0
debian/changelog

@@ -6,6 +6,7 @@ dpkg (1.18.2) UNRELEASED; urgency=low
     - Fix grammar in dpkg-architecture(1).
     - Fix grammar in dpkg-architecture(1).
       Thanks to Chris Lamb <lamby@debian.org>. Closes: #787616
       Thanks to Chris Lamb <lamby@debian.org>. Closes: #787616
     - Use the feature area name in the dpkg-buildflags(1) subsection title.
     - Use the feature area name in the dpkg-buildflags(1) subsection title.
+    - Document DPKG_HOOK_ACTION also in dpkg(1) ENVIRONMENT section.
 
 
   [ Updated programs translations ]
   [ Updated programs translations ]
   * Dutch (Frans Spiesschaert). Closes: #789097
   * Dutch (Frans Spiesschaert). Closes: #789097

+ 5 - 0
man/dpkg.1

@@ -791,6 +791,11 @@ Defined by \fBdpkg\fP on the shell spawned on the conffile prompt to
 examine the situation (since dpkg 1.15.6).
 examine the situation (since dpkg 1.15.6).
 Contains the path to the new conffile.
 Contains the path to the new conffile.
 .TP
 .TP
+.B DPKG_HOOK_ACTION
+Defined by \fBdpkg\fP on the shell spawned when executing a hook action
+(since dpkg 1.15.4).
+Contains the current \fBdpkg\fP action.
+.TP
 .B DPKG_RUNNING_VERSION
 .B DPKG_RUNNING_VERSION
 Defined by \fBdpkg\fP on the maintainer script environment to the
 Defined by \fBdpkg\fP on the maintainer script environment to the
 version of the currently running \fBdpkg\fP instance (since dpkg 1.14.17).
 version of the currently running \fBdpkg\fP instance (since dpkg 1.14.17).