1DH_INSTALLDEBCONF(1) Debhelper DH_INSTALLDEBCONF(1)
2
3
4
6 dh_installdebconf - install files used by debconf in package build
7 directories
8
10 dh_installdebconf [debhelper options] [-n] [-- params]
11
13 dh_installdebconf is a debhelper program that is responsible for
14 installing files used by debconf into package build directories.
15
16 It also automatically generates the postrm commands needed to interface
17 with debconf. The commands are added to the maintainer scripts by
18 dh_installdeb. See dh_installdeb(1) for an explanation of how that
19 works.
20
21 Note that if you use debconf, your package probably needs to depend on
22 it (it will be added to ${misc:Depends} by this program).
23
24 Note that for your config script to be called by dpkg, your postinst
25 needs to source debconf's confmodule. dh_installdebconf does not
26 install this statement into the postinst automatically as it is too
27 hard to do it right.
28
30 debian/package.config
31 This is the debconf config script, and is installed into the DEBIAN
32 directory in the package build directory.
33
34 Inside the script, the token #DEBHELPER# is replaced with shell
35 script snippets generated by other debhelper commands.
36
37 debian/package.templates
38 This is the debconf templates file, and is installed into the
39 DEBIAN directory in the package build directory.
40
41 debian/po/
42 If this directory is present, this program will automatically use
43 po2debconf(1) to generate merged templates files that include the
44 translations from there.
45
46 For this to work, your package should build-depend on po-debconf.
47
49 -n, --no-scripts
50 Do not modify postrm script.
51
52 -- params
53 Pass the params to po2debconf.
54
56 debhelper(7)
57
58 This program is a part of debhelper.
59
61 Joey Hess <joeyh@debian.org>
62
63
64
6512.7.3 2020-01-28 DH_INSTALLDEBCONF(1)