summaryrefslogtreecommitdiff
path: root/dh_installinfo
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installinfo')
-rwxr-xr-xdh_installinfo2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_installinfo b/dh_installinfo
index 3e642095..e00981ef 100755
--- a/dh_installinfo
+++ b/dh_installinfo
@@ -32,7 +32,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
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: $!";