Bug#638184: Run custom command after apt-get upgrade or dist-upgrade

2011-08-17 Thread David Kalnischkies
On Wed, Aug 17, 2011 at 17:59, Gergely Polonkai wrote: > For me it seems that it will be executed after each invocation of dpkg (so > after every package, instead of the full upgrade process). No, the call oder is dpkg::pre-invoke dpkg::pre-install-pkgs $ dpkg --do-this $ dpkg --do-that $ dpkg --

Bug#638184: Run custom command after apt-get upgrade or dist-upgrade

2011-08-17 Thread Gergely Polonkai
Package: apt Version: 0.8.10.3+squeeze1 Severity: wishlist It would be nice to have a Pre-Invoke and Post-Invoke hook for apt-get upgrade just like the ones for apt-get update (APT::Update::Pre|Post-Invoke). -- Package-specific info: -- (no /etc/apt/preferences present) -- -- /etc/apt/source