Package: debhelper
Version: 6.0.8
Severity: important
Tags: patch

Hi,

If a manpage is a symlink to another manpage, it is converted to a
regular file while being recoded to utf-8.
For example, lilo.real.8.gz used to be a symlink pointing to lilo.8.gz,
but now it is a real copy of lilo.8.gz

The attached patch should fix the problem.

Cheers,

-- 
Thomas Huriaux
--- /usr/bin/dh_installman	2008-03-10 23:37:33.000000000 +0100
+++ dh_installman	2008-03-16 16:11:22.000000000 +0100
@@ -197,6 +197,7 @@
 		if (-e "$tmp/$dir") {
 			find(sub {
 				return unless -f $_;
+				return if -l $_;
 				complex_doit "man --recode UTF-8 ./\Q$_\E > \Q$_.new\E";
 				doit "chmod",644,"$_.new";
 				doit "mv","-f","$_.new",$_;

Reply via email to