diff options
author | joey <joey> | 2000-05-11 21:12:40 +0000 |
---|---|---|
committer | joey <joey> | 2000-05-11 21:12:40 +0000 |
commit | c9e50b9874171bc8ebed796e3f15cdf7f9161230 (patch) | |
tree | 8bd4548b13f6a54e3c00d3618477c79368b532f1 /dh_installinfo | |
parent | 2c5020419c6e499779c350f2c04e0c950303ef03 (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-x | dh_installinfo | 2 |
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: $!"; |