summaryrefslogtreecommitdiff
path: root/dh_installinfo
diff options
context:
space:
mode:
authorjoey <joey>2000-05-11 21:12:40 +0000
committerjoey <joey>2000-05-11 21:12:40 +0000
commitc9e50b9874171bc8ebed796e3f15cdf7f9161230 (patch)
tree8bd4548b13f6a54e3c00d3618477c79368b532f1 /dh_installinfo
parent2c5020419c6e499779c350f2c04e0c950303ef03 (diff)
r350: * dh_installinfo: changed test to see if an info file is the head file to
just skip files that end in -\d+.
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 3e64209..e00981e 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: $!";