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 402f4a94..3da08ccb 100755
--- a/dh_installman
+++ b/dh_installman
@@ -141,7 +141,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# redirect to appropriate directory, stripping the code.
my ($langcode)=$basename=~m/.*\.([a-z][a-z](?:_[A-Z][A-Z])?)\.(?:[1-9]|man)/;
if (defined $langcode && $langcode ne '') {
- $destdir="$tmp/usr/share/man/$langcode/man$section/";
+ $destdir="$tmp/usr/share/man/$langcode/man$realsection/";
# Strip the language code from the instname.
$instname=~s/\.$langcode$//;
}