X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_installman;h=6544eae46b68b79401e53babc57fecfb17724028;hb=b6da226d6eb94409547d04baeb76de3a2a27111d;hp=f054796ceabaaaee533cfa4d9e02e9e0fd034c55;hpb=b794dcbc105eb083d756ce8ec255db563368bb4b;p=debhelper.git 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.