File: directives.txt

package info (click to toggle)
cdebconf 0.192
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, jessie-kfreebsd-proposed-updates
  • size: 2,480 kB
  • sloc: ansic: 16,348; sh: 549; makefile: 446; sql: 52; perl: 13
file content (16 lines) | stat: -rw-r--r-- 776 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
debconf directives
==================

cdebconf implements an extension to the Debconf specifications called
directives.  Directives are written in templates or substitutions enclosed into
"${!" and "}", for example "${!DIRECTIVE}".

 .  Directives are not expanded like normal variables and will be given back
/!\ as is by GET and METAGET commands.  This is the desired behaviour when,
~~~ for examples, one implements a dynamic Choices field for select questions
    with directives in SUBSTitutions.

Directives are expanded according to the result of the lookup_directive()
"method" implemented in the frontends when question_get_field() is called.
By default, they will be expanded to the empty string, removing them from the
returned value for unimplemented directives.