FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Debian > Debian dpkg

 
 
LinkBack Thread Tools
 
Old 07-05-2008, 08:19 PM
Max Bowsher
 
Default Triggers and package configuration

Hi, I'm trying to create a package using triggers, and running into a
problem - perhaps someone here can point me in the right direction.

I'm trying to make a package that will add an organization self-signed
SSL certificate to all the system JVMs's trusted certs - and use
triggers to allow it to notice the installation of a new JVM and take
appropriate action. So, I've registered an "interest /usr/lib/jvm"
trigger and that works fine, when "dpkg -i" is used.

However, when apt installs a package, it uses "dpkg --unpack", and this
is causing my customization package's trigger to run whilst the incoming
JVM package is unpacked but not configured.

Is there anything I can do to defer my triggered logic until after
configuration happens?

Max.
 

Thread Tools




All times are GMT. The time now is 06:10 AM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org