diff options
Diffstat (limited to 'dh_installman')
-rwxr-xr-x | dh_installman | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dh_installman b/dh_installman index 0ec9996e..3a5b5c68 100755 --- a/dh_installman +++ b/dh_installman @@ -368,6 +368,7 @@ sub reencode_manpages { } for my $manpage (@manpages) { my $manpage_tmp = "${manpage}.dh-new"; + $manpage_tmp =~ s/\.(gz|Z)\.dh-new$/.dh-new/; if (not $has_man_recode) { my $manpage_cmd = ($manpage =~ m{^/}) ? $manpage : "./${manpage}"; doit({ stdout => $manpage_tmp }, 'man', '-l', '--recode', 'UTF-8', $manpage_cmd); |