summaryrefslogtreecommitdiff
path: root/dh_installman
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installman')
-rwxr-xr-xdh_installman2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_installman b/dh_installman
index f054796c..6544eae4 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.