just skip files that end in -\d+.
+debhelper (2.0.97) unstable; urgency=low
+
+ * dh_installinfo: changed test to see if an info file is the head file to
+ just skip files that end in -\d+.
+
+ -- Joey Hess <joeyh@debian.org> Thu, 11 May 2000 14:11:04 -0700
+
debhelper (2.0.96) unstable; urgency=low
* dh_installmodules: still add depmod -a calls if run on a package that
foreach $file (@info) {
# Only register with install-info if this is a head file in
# a tree of info files.
- if ($file=~/\.info$/ && ! $dh{NOSCRIPTS}) {
+ if ($file !~ /-\d+$/ && ! $dh{NOSCRIPTS}) {
# Figure out what section this file goes in.
my $section='';
open (IN, "<$file") || die "$file: $!";