summaryrefslogtreecommitdiff
path: root/dh_installman
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-18 12:30:06 -0400
committerJoey Hess <joey@kitenet.net>2010-05-18 12:30:06 -0400
commit9dd0ae97130e8a6c1f3c2c49fe24d53fae454e5e (patch)
treedf85947b24e83aac0aac367201e66b125d0dbb74 /dh_installman
parent814bf395f73c5ad0f709b65765fac365c8f7520a (diff)
dh_installman: Avoid converting .so links to symlinks if the link target is not present in the same binary package, on advice of Colin Watson. (To support eventual so search paths.)
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;
+ }
}
}