]> git.donarmstrong.com Git - debhelper.git/commitdiff
r350: * dh_installinfo: changed test to see if an info file is the head file to
authorjoey <joey>
Thu, 11 May 2000 21:12:40 +0000 (21:12 +0000)
committerjoey <joey>
Thu, 11 May 2000 21:12:40 +0000 (21:12 +0000)
     just skip files that end in -\d+.

debian/changelog
dh_installinfo

index a937bb6c65aa8ff98dc687cba6bb8af24bfb8fe7..31dde712c30f94de001c6767514f8e30ea15e9ef 100644 (file)
@@ -1,3 +1,10 @@
+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
index 3e64209580bb159bf2c76a6ad2f010a828c81c3e..e00981ef16947c531b43d61a7f34ac5efeb2e608 100755 (executable)
@@ -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: $!";