Package: dpkg
Version: 1.19.7
Severity: wishlist

Greetings,

I would like to access other meta data (besides DPKG_HOOK_ACTION) when running
various pre/post-invoke commands.

Would you consider exposing:

DPKG_HOOK_PACKAGE_NAME

That contains the package name?

Thank you!

-m


-- Package-specific info:

-- System Information:
Debian Release: bullseye/sid
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.8-2
ii  libc6        2.29-1
ii  liblzma5     5.2.4-1+b1
ii  libselinux1  2.9-2+b2
ii  tar          1.30+dfsg-6+b1
ii  zlib1g       1:1.2.11.dfsg-1+b1

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt            1.8.3
pn  debsig-verify  <none>

-- no debconf information

Reply via email to