deb-triggers.5 1.6 KB

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