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 78e82ea..dbe25dd 100755
--- a/dh_installman
+++ b/dh_installman
@@ -196,7 +196,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
foreach my $dir (qw{usr/share/man usr/X11R6/man}) {
if (-e "$tmp/$dir") {
find(sub {
- return unless -f $_;
+ return if ! -f $_ || -l $_;
complex_doit "man --recode UTF-8 ./\Q$_\E > \Q$_.new\E";
doit "chmod",644,"$_.new";
doit "mv","-f","$_.new",$_;