DH_UCF(1)                         Debhelper                        DH_UCF(1)

NAME         top

       dh_ucf - register configuration files with ucf

SYNOPSIS         top

       dh_ucf [debhelper options] [-n]

DESCRIPTION         top

       dh_ucf is a debhelper program that is responsible for generating the
       postinst and postrm commands that register files with ucf(1) and

FILES         top

           List pairs of source and destination files to register with ucf.
           Each pair should be put on its own line, with the source and
           destination separated by whitespace. Both source and destination
           must be absolute paths. The source should be a file that is
           provided by your package, typically in /usr/share/, while the
           destination is typically a file in /etc/.

           A dependency on ucf will be generated in ${misc:Depends}.

OPTIONS         top

       -n, --no-scripts
           Do not modify postinst/postrm scripts. Turns this command into a

NOTES         top

       Note that this command is not idempotent. dh_prep(1) should be called
       between invocations of this command. Otherwise, it may cause multiple
       instances of the same text to be added to maintainer scripts.

SEE ALSO         top


       This program is a part of debhelper.

AUTHOR         top

       Joey Hess <> Jeroen Schot <>

COLOPHON         top

       This page is part of the debhelper (helper programs for debian/rules)
       project.  Information about the project can be found at 
       ⟨⟩.  If you
       have a bug report for this manual page, send it to  This page was obtained from the project's
       upstream Git repository
       ⟨⟩ on
       2018-02-02.  (At that time, the date of the most recent commit that
       was found in the repository was 2018-01-28.)  If you discover any
       rendering problems in this HTML version of the page, or you believe
       there is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

10.10.9                          2017-11-23                        DH_UCF(1)