[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Finnishing apt/aptitude runs with a script?



On Jo, 31 mar 11, 08:01:46, Johannes Graumann wrote:
> Hi,
> 
> I'm running a host-based intrusion detection system (HIDS) and have to 
> update it's database whenever I upgrade the system using apt/aptitude.
> 
> Does that package management suite provide the functionality to run a 
> script/shell command when it's quitting? I'd prefer such a solution over the 
> current scripting approach as I all to aften find myself automatically 
> typing "aptitude" instead of "<Myscript>" ...

I think what you need can be achieved with dpkg hooks. Hope this hint 
helps, since I never used them and can't tell you exactly where to put 
them.

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Attachment: signature.asc
Description: Digital signature


Reply to: