]> git.donarmstrong.com Git - debhelper.git/commitdiff
r1869: * dh_installman: correct mistake that broke translated man page installation 5.0.21
authorjoeyh <joeyh>
Thu, 26 Jan 2006 17:37:53 +0000 (17:37 +0000)
committerjoeyh <joeyh>
Thu, 26 Jan 2006 17:37:53 +0000 (17:37 +0000)
Closes: #349995
debian/changelog
dh_installman

index f3c788c94a4ff8b6c4dac35f54be7d2d755bccaf..04c2265395245aacb1bfe41e6b11c1a0de32013d 100644 (file)
@@ -1,3 +1,10 @@
+debhelper (5.0.21) unstable; urgency=low
+
+  * dh_installman: correct mistake that broke translated man page installation
+    Closes: #349995
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 26 Jan 2006 12:32:44 -0500
+
 debhelper (5.0.20) unstable; urgency=low
 
   * Minor bug fix from last release.
index f054796ceabaaaee533cfa4d9e02e9e0fd034c55..6544eae46b68b79401e53babc57fecfb17724028 100755 (executable)
@@ -143,7 +143,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        
                my $destdir="$tmp/usr/share/man/man$realsection/";
                my $langcode;
-               if (! exists $dh{LANGUAGE}) {
+               if (! defined $dh{LANGUAGE} || ! exists $dh{LANGUAGE}) {
                        # Translated man pages are typically specified by adding the
                        # language code to the filename, so detect that and
                        # redirect to appropriate directory, stripping the code.