debconf-mergetemplate.
* dh_installman: don't whine about zero-length man pages in .so conversion.
* Forgot to export filedoublearray, Closes: #142784
use vars qw(@ISA @EXPORT %dh);
@ISA=qw(Exporter);
@EXPORT=qw(&init &doit &complex_doit &verbose_print &error &warning &tmpdir
- &pkgfile &pkgext &isnative &autoscript &filearray &GetPackages
- &basename &dirname &xargs %dh &compat &addsubstvar &delsubstvar
- &excludefile);
+ &pkgfile &pkgext &isnative &autoscript &filearray &filedoublearray
+ &GetPackages &basename &dirname &xargs %dh &compat &addsubstvar
+ &delsubstvar &excludefile);
my $max_compat=4;
+debhelper (4.0.1) unstable; urgency=low
+
+ * dh_installdebconf: allow parameters after -- to go to
+ debconf-mergetemplate.
+ * dh_installman: don't whine about zero-length man pages in .so conversion.
+ * Forgot to export filedoublearray, Closes: #142784
+
+ -- Joey Hess <joeyh@debian.org> Fri, 12 Apr 2002 23:22:15 -0400
+
debhelper (4.0.0) unstable; urgency=low
* dh_movefiles has long been a sore point in debhelper. Inherited
=head1 SYNOPSIS
-B<dh_installdebconf> [S<I<debhelper options>>] [B<-n>]
+B<dh_installdebconf> [S<I<debhelper options>>] [B<-n>] [S<B<--> I<params>>]
=head1 DESCRIPTION
Do not modify postrm script.
+=item B<--> I<params>
+
+Pass the params to debconf-mergetemplate.
+
=back
=cut
init();
+my @extraparams;
+if (defined($dh{U_PARAMS})) {
+ @extraparams=@{$dh{U_PARAMS}};
+}
+
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
my $config=pkgfile($package,"config");
# Are there translated templates too?
my @trans=(glob("$templates.??"), glob("$templates.??_??"));
if (@trans) {
- complex_doit("debconf-mergetemplate @trans $templates > $tmp/DEBIAN/templates");
+ complex_doit("debconf-mergetemplate @extraparams @trans $templates > $tmp/DEBIAN/templates");
chmod 0644, "$tmp/DEBIAN/templates";
chown 0, 0, "$tmp/DEBIAN/templates";
}
sub find_so_man {
# The -s test is becuase a .so file tends to be small. We don't want
# to open every man page. 1024 is arbitrary.
- if (! -f $_ || -s $_ > 1024) {
+ if (! -f $_ || -s $_ > 1024 || -s == 0) {
return;
}