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
28 -A, --all
29 Install all files specified by command line parameters in ALL
30 packages acted on.
31
32 -n, --no-scripts
33 Do not modify postinst/postrm scripts. Turns this command into a
34 no-op.
35
36 file ...
37 Install these info files into the first package acted on. (Or in
38 all packages if -A is specified).
39
41 Note that this command is not idempotent. dh_prep(1) should be called
42 between invocations of this command. Otherwise, it may cause multiple
43 instances of the same text to be added to maintainer scripts.
44
46 debhelper(7)
47
48 This program is a part of debhelper.
49
51 Joey Hess <joeyh@debian.org> Jeroen Schot <schot@a-eskwadraat.nl>
52
53
54
5512.6.1 2019-10-08 DH_UCF(1)