From: joeyh Date: Thu, 26 Jan 2006 17:37:53 +0000 (+0000) Subject: r1869: * dh_installman: correct mistake that broke translated man page installation X-Git-Tag: 5.0.21^0 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b6da226d6eb94409547d04baeb76de3a2a27111d;p=debhelper.git r1869: * dh_installman: correct mistake that broke translated man page installation Closes: #349995 --- diff --git a/debian/changelog b/debian/changelog index f3c788c..04c2265 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Thu, 26 Jan 2006 12:32:44 -0500 + debhelper (5.0.20) unstable; urgency=low * Minor bug fix from last release. diff --git a/dh_installman b/dh_installman index f054796..6544eae 100755 --- a/dh_installman +++ b/dh_installman @@ -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.