dh_installdebconf is a debhelper program that is responsible for installing
files used by the debconf package into package build directories.
-It also automatically generates the postrm commands needed to
-interface with debconf. See L<dh_installdeb(1)> for an explanation of how
-that works.
+It also automatically generates the postrm commands needed to interface
+with debconf. The commands are added to the maintainer scripts by
+dh_installdeb. See L<dh_installdeb(1)> for an explanation of how that
+works.
Files named debian/package.config and debian/package.templates are
installed into the DEBIAN directory in the package build directory.
}
# I'm going with debconf 0.5 because it was the first
- # "modern" one.
- my $debconfdep="debconf (>= 0.5) | debconf-2.0";
+ # "modern" one. udebs just need cdebconf.
+ my $debconfdep=is_udeb($package) ? "cdebconf-udeb" : "debconf (>= 0.5) | debconf-2.0";
if ($config ne '' || $templates ne '') {
addsubstvar($package, "misc:Depends", $debconfdep);
}