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

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.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: