1deb-triggers(5) dpkg utilities deb-triggers(5)
2
3
4
6 deb-triggers - package triggers
7
9 triggers
10
12 A package declares its relationship to some trigger(s) by including a
13 triggers file in its control archive (i.e. DEBIAN/triggers during pack‐
14 age creation).
15
16 This file contains directives, one per line. Leading and trailing
17 whitespace and everything after the first # on any line will be
18 trimmed, and empty lines will be ignored.
19
20 The trigger control directives currently supported are:
21
22 interest trigger-name
23
24 Specifies that the package is interested in the named trigger. All
25 triggers in which a package is interested must be listed using
26 this directive in the triggers control file.
27
28 activate trigger-name
29
30 Arranges that changes to this package's state will activate the
31 specified trigger. The trigger will be activated at the start of
32 the following operations: unpack, configure, remove (including for
33 the benefit of a conflicting package), purge and deconfigure.
34
35 If this package disappears during the unpacking of another package
36 the trigger will be activated when the disappearance is noted
37 towards the end of the unpack. Trigger processing, and transition
38 from triggers-awaited to installed, does not cause activations.
39 In the case of unpack, triggers mentioned in both the old and new
40 versions of the package will be activated.
41
42 Unknown directives are an error which will prevent installation of the
43 package.
44
46 dpkg-trigger(1), dpkg(1), /usr/share/doc/dpkg/triggers.txt.gz.
47
48
49
50Debian Project 2009-03-15 deb-triggers(5)