PDA

View Full Version : [ubuntu] run a script when a new package is installed



pablop
February 15th, 2009, 06:18 PM
Hi,

I'm looking for a way to run a python script automatically when apt-get is used to install or upgrade a package.
The script should get the package name and version as arguments.
Is this possible?

Thanks