]> git.donarmstrong.com Git - debhelper.git/commitdiff
r1866: releasing version 5.0.20 5.0.20
authorjoeyh <joeyh>
Tue, 24 Jan 2006 01:42:00 +0000 (01:42 +0000)
committerjoeyh <joeyh>
Tue, 24 Jan 2006 01:42:00 +0000 (01:42 +0000)
debian/changelog
dh_installman

index aa79361604030c14d5d408b49f881af82209a272..f3c788c94a4ff8b6c4dac35f54be7d2d755bccaf 100644 (file)
@@ -1,3 +1,9 @@
+debhelper (5.0.20) unstable; urgency=low
+
+  * Minor bug fix from last release.
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 23 Jan 2006 20:29:10 -0500
+
 debhelper (5.0.19) unstable; urgency=low
 
   * dh_installman: add support for --language option to override man page
index df0ad44e5f6f6d636601de6fff93948e40189e52..f054796ceabaaaee533cfa4d9e02e9e0fd034c55 100755 (executable)
@@ -148,8 +148,10 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                        # language code to the filename, so detect that and
                        # redirect to appropriate directory, stripping the code.
                        ($langcode)=$basename=~m/.*\.([a-z][a-z](?:_[A-Z][A-Z])?)\.(?:[1-9]|man)/;
-                       # Strip the language code from the instname.
-                       $instname=~s/\.$langcode$//;
+                       if (defined $langcode && $langcode ne '') {
+                               # Strip the language code from the instname.
+                               $instname=~s/\.$langcode$//;
+                       }
                }
                elsif ($dh{LANGUAGE} ne 'C') {
                        $langcode=$dh{LANGUAGE};