Note that if you use debconf, your package probably needs to depend on it
(it will be added to ${misc:Depends} by this program).
+Note that for your config script to be called by dpkg, your postinst
+needs to source debconf's confmodule. dh_installdebconf does not
+install this statement into postinst automatically as it it too hard to
+do it right.
+
=head1 LOCALIZED TEMPLATE FILES
Debconf also supports localized template files, and this program has some
if (@trans) {
warning "ignoring debian/templates.ll files in favour of debian/po directory";
}
- else {
- complex_doit("po2debconf @extraparams $templates > $tmp/DEBIAN/templates");
- }
+ complex_doit("po2debconf @extraparams $templates > $tmp/DEBIAN/templates");
}
elsif (@trans) {
complex_doit("debconf-mergetemplate --drop-old-templates @extraparams @trans $templates > $tmp/DEBIAN/templates");