1DH_UCF(1) Debhelper DH_UCF(1)
2
3
4
6 dh_ucf - register configuration files with ucf
7
9 dh_ucf [debhelper options] [-A] [-n] [file ...]
10
12 dh_ucf is a debhelper program that is responsible for generating the
13 postinst and postrm commands that register files with ucf(1) and
14 ucfr(1).
15
17 debian/package.ucf
18 List pairs of source and destination files to register with ucf.
19 Each pair should be put on its own line, with the source and
20 destination separated by whitespace. Both source and destination
21 must be absolute paths. The source should be a file that is
22 provided by your package, typically in /usr/share/, while the
23 destination is typically a file in /etc/.
24
25 A dependency on ucf will be generated in ${misc:Depends}.
26
27 Supports substitution variables in compat 13 and later as
28 documented in debhelper(7).
29
31 -A, --all
32 Install all files specified by command line parameters in ALL
33 packages acted on.
34
35 -n, --no-scripts
36 Do not modify postinst/postrm scripts. Turns this command into a
37 no-op.
38
39 file ...
40 Install these info files into the first package acted on. (Or in
41 all packages if -A is specified).
42
44 Note that this command is not idempotent. dh_prep(1) should be called
45 between invocations of this command. Otherwise, it may cause multiple
46 instances of the same text to be added to maintainer scripts.
47
49 debhelper(7)
50
51 This program is a part of debhelper.
52
54 Joey Hess <joeyh@debian.org> Jeroen Schot <schot@a-eskwadraat.nl>
55
56
57
5813.11.4 2023-01-22 DH_UCF(1)