How would I automatically run a script after the apt-get actions dist-upgrade, install, remove and purge? Is there a suitable way of hooking into the APT lifecycle and run a custom script?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
|||
apt-getin a/your custom script ? – user55822 Oct 20 '12 at 8:21apt-get updatein a terminal (e.g. the update cron job, synaptic, etc.) won't make your script run. – strugee Mar 20 at 4:33