summaryrefslogtreecommitdiff
path: root/dh_installman
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installman')
-rwxr-xr-xdh_installman6
1 files changed, 4 insertions, 2 deletions
diff --git a/dh_installman b/dh_installman
index 1a5750b..703b70b 100755
--- a/dh_installman
+++ b/dh_installman
@@ -248,8 +248,10 @@ sub find_so_man {
$solink="../$solink";
}
- push @sofiles,"$File::Find::dir/$_";
- push @sodests,$solink;
+ if (-e $solink || -e "$solink.gz") {
+ push @sofiles,"$File::Find::dir/$_";
+ push @sodests,$solink;
+ }
}
}