From 814bf395f73c5ad0f709b65765fac365c8f7520a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 17 May 2010 20:10:00 -0400 Subject: [PATCH] dh_installman: Support .so links relative to the current section. --- debian/changelog | 6 ++++++ dh_installman | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 53445c5..594ef7c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +debhelper (7.4.21) UNRELEASED; urgency=low + + * dh_installman: Support .so links relative to the current section. + + -- Joey Hess Mon, 17 May 2010 20:01:19 -0400 + debhelper (7.4.20) unstable; urgency=low * Drop one more call to dpkg-architecture. Closes: #580837 diff --git a/dh_installman b/dh_installman index 8487f10..1a5750b 100755 --- a/dh_installman +++ b/dh_installman @@ -241,7 +241,10 @@ sub find_so_man { dirname($solink)) { $solink=basename($solink); } - else { + # A so link with a path is relative to the base of the man + # page hierarchy, but without a path, is relative to the + # current section. + elsif ($solink =~ m!/!) { $solink="../$solink"; } -- 2.39.2